-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: error on sending notification to android devices using curl and php about new rich api introduced the 14/11/2024 #2221
Comments
Hello @qasmmaoui, it looks like you have Identity Verification turned on and when this option is on, an authorization token is required to complete the transactions. If you had this turned on by accident, you can turn it off by going to OneSignal Console -> Setting -> Key & IDs -> API Keys -> Required Identity Verification |
hello @jinliu9508 thank you very much for your feedback , unfortunately its not enabled the only option i have mentioning identity validation is this Identity Verification for email + external_id (recommended) and its not enabled |
@qasmmaoui Could you confirm that you are are using the key from the app not the organization? |
Having the exact same issue. Added a key, sending an API request and getting the exact same error. The key is valid, the cURL request follows the examples exactly |
is there any progress regarding this bug? i am experiencing the same thing. |
I am also experiencing the same thing. Any updates? |
Total Subscriptions This solves my problem, when i put Subscribed Users, it shows error |
What happened?
the latest api always retruns the same response
{"errors": ["Access denied. Please include an 'Authorization: ...' header with a valid API key (https://documentation.onesignal.com/docs/accounts-and-keys)."]}
Steps to reproduce?
What did you expect to happen?
receuve push on the emulator
instead im revecing error on curl execution
OneSignal Android SDK version
5.1.21
Android version
15
Specific Android models
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: