woocommerce_api_authentication_error","message":"Consumer Secret is invalid
See original GitHub issueWhen using HTTPS in the API URL parameter below the authentication fails with the error"
“woocommerce_api_authentication_error”,“message”:“Consumer Secret is invalid”.
HTTP works fine.
Questions:
- Any suggestions on how to troubleshoot this?
- If this is a potential server side configuration issues, do you have any pointers on how to configure it correctly?
- Could you give me an example of how to use query parameters instead? The WooCommerce REST API documentation hints at an example for servers that not properly parse the Authorization header, but it is actually missing.
API(
url="https://kashalife.net/",
consumer_key ="ck_16c59a1a0693c2723928830da52a30640c2311fd",
consumer_secret="cs_0b4e0f17741e024b31d0ef799257b972db473305",
wp_api=False,
verify_ssl=False,
version="v3",
)
Thanks - Christoph
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unable to create secret in kubernetes: "Secret is invalid
I found my issue. I was trying to create the Secret object using. Yaml.LoadAllFromString(). which was double encoding my .dockerconfigjson value.
Read more >Error create failed to create Secret invalid metadata.name ...
How to fix - Error create failed to create Secret invalid metadata.name Invalid value DNS-1123 subdomain must consist of lower case alphanumeric ...
Read more >Fixing -Error create failed to create Secret invalid metadata ...
How to fix - Error create failed to create Secret invalid metadata.name Invalid value DNS-1123 subdomain must consist of lower case ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@chbichsel Solved in version 1.2.0, now you just need to update and set your wrapper using the
query_string_auth
option, see example:Sweet. Thanks!
From: Claudio Sanches [mailto:notifications@github.com] Sent: Wednesday, June 22, 2016 4:35 PM To: woothemes/wc-api-python wc-api-python@noreply.github.com Cc: chbichsel chbichsel@msn.com; Mention mention@noreply.github.com Subject: Re: [woothemes/wc-api-python] woocommerce_api_authentication_error",“message”:"Consumer Secret is invalid (#16)
@chbichselhttps://github.com/chbichsel Solved in version 1.2.0, now you just need to update and set your wrapper using the query_string_auth option, see example:
API(
)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/woothemes/wc-api-python/issues/16#issuecomment-227908665, or mute the threadhttps://github.com/notifications/unsubscribe/AR4SzYKP-Bus8kZ1AMk94IJ8Uu6_yDcJks5qOca7gaJpZM4I7dND.