Hi,
I am using the REST API to retrieve and update products in Magento 2. It works just fine when I request a list of products, attributes, attribute or categories. However when I want to update a product's attribute values, I get the "The consumer isn't authorized to access %resources." error.
I am using the REST API by obtaining a token via the V1/integration/admin/token endpoint. To update a product I perform a PUT request to the V1/products/<sku> endpoint
What can cause this problem?
Have you tried setting Stores > Configuration > Services > OAuth > Consumer Settings >
Allow OAuth Access Tokens to be used as standalone Bearer tokens option
to Yes?
Yes I did, but isn't it strange that I the get requests I describe do work with the same token?