I’m getting the following error: {“success”:false,”error”:”Invalid secret key”}

2.52K viewscommon
0

REST API v2
You have to send an extra header parameter with the secret key.

The extra header parameter name is “X-Oc-Merchant-Id“.

If you don’t want to use secret key, just leave blank the Secret key field on Rest API configuration page, and extension will work fine.

REST admin API
You have to send an extra header parameter with the secret key.

The extra header parameter name is “X-Oc-Restadmin-Id“.

If you don’t want to use secret key, just leave blank the Secret key field on Rest API configuration page, and extension will work fine.