status_code: 210 with "Access denied or application not found" from /createMessage means the request was parsed and authenticated, but Pushwoosh refused to act on the application you specified. HTTP status is still 200 — always parse status_code.
Check these causes in order:
- The token has no access to that project. In the Pushwoosh Control Panel go to Settings → API Access, open the token you use, and make sure the project whose Application Code you pass in the
applicationparameter is selected in the project list (or use "Grant access to all projects"). Save and retry. - The
applicationparameter is missing or wrong. It must be the Application Code (e.g.XXXXX-XXXXX) of a project inside the same account as the token. - No platform is configured for the project. A project with no configured platform cannot accept a message request — configure at least one platform in Configure platforms.
- The requested feature is not available on your plan (for example sending to a users list). Contact support to confirm your account's feature set.
210 is not retryable: the same request will always return 210 until the underlying configuration is fixed.
Comments
0 comments
Please sign in to leave a comment.