• lsantaniello (@lsantaniello)
    4 hours, 14 minutes ago
    Hi Guys,
    I always receive 401 from woocommerce rest API. I don’t understand the cause.

    WordPress 4.7.4
    WooCommerce 3.0.6

    1) I generated KEYS from administration panel

    2) I use Postman in order to call the WordPress API
    – I set OAuth1.0, is it correct?
    – I use /wp-json/wc/v2 endpoint, is it correct?
    – Postman generate URL:

    https://{{HOST}}:{{PORT}}/{{CONTEXT}}/wp-json/wc/v2/products/categories?oauth_consumer_key=ck_fab77b44e3a59e09c1218df3999f0b2b837e8626&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1494856028&oauth_nonce=2sWeUJ&oauth_version=1.0&oauth_signature=ykmBiX5IyHtmGClYNHziXvk0jPxB6SyGkCy3LulDpSc=

    3) I always receive this error (in italian language):

    {
    “code”: “woocommerce_rest_authentication_error”,
    “message”: “Firma non valida – la firma fornita non corrisponde.”,
    “data”: {
    “status”: 401
    }
    }
    Could you please help me?

    Thanks
    Luca

  • The topic ‘Auth issue’ is closed to new replies.