# Visit swagger with auth display 500 error

**URL:** <https://forums.percona.com/t/visit-swagger-with-auth-display-500-error/21695>\
**Category:** PMM 2.x\
**Tags:** closed-no-reply\
**Created:** [April 27, 2023, 4:03am UTC](https://forums.percona.com/t/visit-swagger-with-auth-display-500-error/21695 "2023-04-27T04:03:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luka](https://avatars.discourse-cdn.com/v4/letter/l/a587f6/32.png) [@luka](https://forums.percona.com/u/luka)\
**Post date:** [April 27, 2023, 4:03am UTC](https://forums.percona.com/t/visit-swagger-with-auth-display-500-error/21695/1 "2023-04-27T04:03:13Z")

</div>

I edit file /etc/nginx/conf.d/pmm.conf,set swagger auth\_request on; when I visit swagger it show 500.How can I visit swagger with auth?
