I need to write sentry events but I cannot use the SDK and would prefer not to use sentry-cli. I will be distributing this code in a FOSS project to untrusted clients. I have created an Authorization token that only has event:write
permission.
I tried this…
curl https://sentry.io/api/{PROJECTID}/store/ -H 'Authorization: Bearer {TOKEN}' -H 'Content-Type: application/json' -X POST -d "{""event_id"":""1234""}"
The result:
{"detail":"missing authorization information"}
What am I missing?
Thank you.