has anyone setup a one signal api call for sending push notifications before?
currently getting this error
has anyone setup a one signal api call for sending push notifications before?
currently getting this error
Share API connector setting… seem you doesn’t have set auth correctly
You need to delete the key text with the space after. Also did you set any auth in the auth part of API connector or didnyoubselect self-handled?
I am using private key in header, tired that too it didnt work
this is their documentation
one signal specifically stated that i add key there next to the api key
Can you share doc. This is not what I see…
Did you try without key? If you look at doc, there’s no of key before the placholder for authorization in the curl. Just directly your apikey without anything else
Also, if you plan to use your own account only, you should use auth goes in header from auth section instead
Bad documentation because if you go there: Keys & IDs - OneSignal this will tell you to use key and not Key… so what is the correct answer? You will need to test it. Try to test also in Postman/Insomnia to see.
Finally, delete the header and use Auth key goes in header. Set Authorization on the left and key APIKEY or Key APIKEY or just APIKEY in the right box.
Difference is the k is in capital letter while the wrong one is in small letter
How do I test in postman, unfortunately I don’t know how to do that?
“Finally, delete the header and use Auth key goes in header. Set Authorization on the left and key APIKEY or Key APIKEY or just APIKEY in the right box.”—-Is it possible if you could demonstrate this with a screenshot of how to setup it up?
Thanks
hi @Jici
literally what i did earlier before i brought the issue to bubble forum
Yes. The issue is not there. But it’s just better to use this instead of header. For your issue, pretty sure your API key may not be set correctly. Double check if from your OS dashboard or create a new one. Check in Bubble there’s no trailing space after.