• Resolved Artprofile

    (@artprofile)


    Hi all,
    I’m going crazy
    
Trying to get product rinfo and getting 401:
    {
    “code”: “woocommerce_rest_cannot_view”,
    “message”: “Non puoi creare una lista delle risorse.”,
    “data”: {
    “status”: 401
    }
    }

    
Here is what I did:
Legacy API enabled
Keys are generated and re-generated for admin user
    I use Postman to simulate API calls ( wp-json/wc/v3 WORKS) ( wp-json/wc/v3/products DOESN’T WORK)
    Caching plugins are disabled.
    I tried to add to .htaccess (found suggestion on the web):
RewriteRule ^index\.php$ – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    I installed plugin “Application Password” (found suggestion on the web) – NO CHANCE

    Any help will be greatly appreciated,
Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘API KEY – 401 Unauthorized’ is closed to new replies.