# Getting server error while click authorize button in swagger

**URL:** <https://community.open-emr.org/t/getting-server-error-while-click-authorize-button-in-swagger/20742>\
**Category:** OpenEMR Development\
**Created:** [June 20, 2023, 6:18am UTC](https://community.open-emr.org/t/getting-server-error-while-click-authorize-button-in-swagger/20742 "2023-06-20T06:18:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balamurugan\_S](https://community.open-emr.org/user_avatar/community.open-emr.org/balamurugan_s/32/18725_2.png) [@Balamurugan\_S](https://community.open-emr.org/u/Balamurugan_S)\
**Post date:** [June 20, 2023, 6:18am UTC](https://community.open-emr.org/t/getting-server-error-while-click-authorize-button-in-swagger/20742/1 "2023-06-20T06:18:16Z")

</div>

{“error”:“server\_error”,“error\_description”:“The authorization server encountered an unexpected condition which prevented it from fulfilling the request: Security error - problem with authorization server keys.”,“message”:“The authorization server encountered an unexpected condition which prevented it from fulfilling the request: Security error - problem with authorization server keys.”}

previously I got **Auth Error** Error: response status is 400. To referring one forum I saw [Getting Error While Calling the Authorization Code Grant - #16 by adunsulag](https://community.open-emr.org/t/getting-error-while-calling-the-authorization-code-grant/16300/16) following these steps. After doing this I got a server error now. I am using 7.0.1 docker for setup.

---

<div class="post-metadata">

**Author:** ![adunsulag](https://community.open-emr.org/user_avatar/community.open-emr.org/adunsulag/32/12606_2.png) [@adunsulag](https://community.open-emr.org/u/adunsulag)\
**Post date:** [June 20, 2023, 8:29pm UTC](https://community.open-emr.org/t/getting-server-error-while-click-authorize-button-in-swagger/20742/2 "2023-06-20T20:29:12Z")

</div>

There is not enough detail here to help you. I suggest turning on the debug error logs in Logging → System Error Logging Options and try to trace your errors that way. Its apparent you have an issue with your keys which is often due to an openssl setup issue, or due to a folder/file permission problem.

---

<div class="post-metadata">

**Author:** ![Balamurugan\_S](https://community.open-emr.org/user_avatar/community.open-emr.org/balamurugan_s/32/18725_2.png) [@Balamurugan\_S](https://community.open-emr.org/u/Balamurugan_S)\
**Post date:** [June 22, 2023, 6:44am UTC](https://community.open-emr.org/t/getting-server-error-while-click-authorize-button-in-swagger/20742/3 "2023-06-22T06:44:53Z")

</div>

I am using [openemr-devops/docker/openemr/7.0.1/Dockerfile at master · openemr/openemr-devops · GitHub](https://github.com/openemr/openemr-devops/blob/master/docker/openemr/7.0.1/Dockerfile) this for docker setup.
