Receiving a status_code: 210
with the message "Access denied or application not found" when calling the Pushwoosh /createMessage
API means that while your request was authenticated using a valid API Access Token (auth
parameter), that specific token does not have permission to interact with the Pushwoosh application specified in the application
parameter of your request.
To resolve this:
- Log in to your Pushwoosh Control Panel.
- Navigate to the API Access section.
- Find the API Access Token you are using for your API calls.
- Click to edit the settings for that token.
- Look for a section listing applications (e.g., "Allowed Applications" or similar).
- Ensure that the checkbox next to the application you are trying to send messages to (the one whose Application Code matches the
application
value in your API request) is checked/enabled. - Save the changes made to the API Access Token.
After saving the updated permissions, retry your /createMessage
API request. It should now be authorized correctly.
Comments
0 comments
Please sign in to leave a comment.