I have a project deployed and I am trying to send some test events through sentry-cli.
The CLI also says everything allright!
But I cannot find the event on Sentry UI.
I tried both through curl and sentry-cli
e.g.,
curl -i --data '{ "test": "test" }' \
-H 'Content-Type: application/json' \
-H "X-Sentry-Auth: Sentry sentry_version=7,
sentry_key=XXXXX, sentry_client=raven-bash/0.1" \
https://sentry.io/api/XXXX/store/
Response:
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 08 Nov 2019 20:13:20 GMT
Content-Type: application/json
Content-Length: 41
Connection: keep-alive
Access-Control-Allow-Headers: X-Sentry-Auth, X-Requested-With, Origin, Accept, Content-Type, Authentication, Authorization
X-Content-Type-Options: nosniff
Content-Language: en
Access-Control-Expose-Headers: X-Sentry-Error, Retry-After
Expires: Fri, 08 Nov 2019 20:13:20 GMT
Vary: Accept-Language, Cookie
Last-Modified: Fri, 08 Nov 2019 20:13:20 GMT
X-XSS-Protection: 1; mode=block
Allow: GET, POST, HEAD, OPTIONS
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, HEAD, OPTIONS
X-Frame-Options: deny
X-Served-By: api-store-206a9130
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
{"id":"d528a0a66693408e8262b997dba2b60a"}%
As I see, everything went fine. But when I go to the UI, it doesn’t show me any new new event.
Same thing when I try through sentry-cli
[user@ip-172-31-1-161 ~]$ export SENTRY_DSN=https://XXXX@sentry.io/XXX
[user@ip-172-31-1-161 ~]$ sentry-cli send-event -m "test event"
f2cf2cfd-58fa-43d3-b11e-c95cb86742bf
Any help here?