Issue with Order Push to Shopify using Custom App

Topic summary

A user reports that order synchronization from WhatsApp Commerce API to Shopify via a Custom App has stopped working after functioning properly for a week.

Error Details:

  • The system returns a “BadRequestError” with “Unauthorized” status
  • Error message indicates: “Invalid API key or access token (unrecognized login or wrong password)”

Suggested Troubleshooting Steps:

  • Verify if the API key/access token has expired or been revoked in WhatsApp Commerce
  • Regenerate the authentication tokens
  • Adjust permissions in Shopify admin settings
  • Test the integration in a development store

Status: The issue remains unresolved and requires further investigation into authentication credentials.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

When attempting to push orders to Shopify using the Custom App, we are encountering an error message indicating a failure in the order transfer process by using WhatsApp Commerce using API. Earlier it was working fine, and after 1 week it’s stop working.

{
  "error": {
    "message": "Unauthorized",
    "metadata": {
      "data": {
        "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
      },
      "addData": null
    },
    "name": "BadRequestError"
  }
}

It could be a few things. Your API key/access token may have expired or been revoked. Check WhatsApp Commerce to see if that’s the case. You might need to adjust the permissions in your Shopify admin settings. After you’ve tried all that, try regenerating the tokens and testing in a dev store.