Troubleshooting
Record the App version, destination deployment, target, time, and a safe error code. Do not put tokens, secrets, or complete merchant data in support requests or browser logs.
Missing or unloadable actions
| Symptom | First checks |
|---|---|
| No action button | Is the App installed for the current merchant / organization? Do owner and target match? Does the user have the required permission? |
| Fulfillment action appears only on some pages | Check the warehouse, fulfillment_statuses, and the detail page's single-order requirement; see targets |
gowarehouse_host_required | Is the code running inside the platform extension runtime rather than an ordinary page? |
host_i18n_v1_required or translation failures | Does the deployment support i18n, and does the release contain complete locale resources with matching keys? |
| Module fails to load | Is the bundle self-contained, does its digest match the release, and are its components supported by both the runtime and Host? |
Denied or rejected requests
Host requests can fail by returning { success: false, message } or by rejecting the Promise. HTTP status codes generally come from the actual HTTP response or platform logs; the SDK does not guarantee status or headers.
| Clue | Action |
|---|---|
401 / invalid_token | Check the session and installation, then reopen the action; backends renew credentials through their authorization flow |
403 / permission_denied / insufficient_scope | Check current user permissions, installation consent, and managed credential scopes |
invalid_instance | Check that the action is open and the instance belongs to it; reopen instead of reusing an old instance |
404 / record_not_found | Check the resource UUID, tenant, and API version; do not infer another tenant's resource existence |
422 / invalid_parameter | Check method, path, a non-empty patch, JSON bytes, and merged size |
409 / state_conflict | Stop resending and ask the platform to investigate the existing data conflict |
429 / rate_limit_exceeded | Delay retries; backends can honor HTTP Retry-After, while UI code must avoid tight loops |
unsupported_target or schema validation errors | Check that the Host request uses the restricted Admin metadata format |
| Network, timeout, or closure rejection | Check the outcome before assuming that no write took place |
See App order metadata for request rules. SDK types do not fully match Host coverage; see Host SDK.
Your backend and CORS
Check the request Origin against the extension runtime origin in the deployment contract. The OPTIONS preflight must allow the required Authorization / Content-Type headers and must not be redirected to sign-in first. After CORS succeeds, still verify the ID Token's signature, audience, issuer, and expiry.
Do not solve these errors by allowing every origin, disabling TLS verification, or placing secrets in the frontend. See Identity and authorization.
Published but still running an old version
Check whether the draft was approved, the release was published, the destination is compatible, and the installer confirmed an upgrade. Store Publication does not automatically replace existing installations. Check Publish, install, and upgrade before deciding whether reinstallation is needed.