cancel
Showing results for 
Search instead for 
Did you mean: 

REST API is not working

REST API is not working

I upgraded to Magento CE 2.1.8 and now the REST API quit working. 

 

When I go to:

http://somedomain.com/rest/V1/customers/me

 

I get this:

 

<response>
      <message>Consumer is not authorized to access %resources</message>
      <parameters>
            <resources>self</resources>
      </parameters>
</response>
 
In admin:
Cookie Lifetime 3600
Cookie Path /
Cookie Domain my url
Use HTTP Only yes
Cookie restriction mode yes
 
Any ideas?
 
1 REPLY 1

Re: REST API is not working

Which authentication method are you using? http://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-authentication.html

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!