简体   繁体   中英

Sentry api authentication issue

I am trying to get all the issues with respect to a project by exposing the sentry api hosted on a private server but getting below response even after using basic auth.

{ "detail": "Authentication credentials were not provided." }

And after generating api key, getting invalid key.

Thanks

You should add this header:

header = {'Authorization': 'Bearer TOKEN'}

to your request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM