2

Working in the REST API and checking with the postman storeConfigs, storeViews, currency etc... API working fine but I am working on Add to Cart API and it's throwing in the below response.

"message": "The consumer isn't authorized to access %resources.",
 "parameters": {
 "resources": "self"
 },

POST URL: http://test.com/rest/V1/carts/mine/items

Bhaumik Upadhyay
9031 gold badge9 silver badges18 bronze badges
asked Aug 13, 2019 at 6:39
2
  • I suppose you have used the account of a valid customer? And with that token you are trying the call? Because the error message is saying that the token you have is not ok to be used for that call. Maybe you are using the same you made with the admin credentials. Commented Aug 13, 2019 at 6:46
  • I also tried to add authentication. But not working. Commented Aug 13, 2019 at 6:48

1 Answer 1

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.