# Getting Error While Calling the Authorization Code Grant

**URL:** <https://community.open-emr.org/t/getting-error-while-calling-the-authorization-code-grant/16300>\
**Category:** OpenEMR Development\
**Created:** [March 19, 2021, 8:56am UTC](https://community.open-emr.org/t/getting-error-while-calling-the-authorization-code-grant/16300 "2021-03-19T08:56:59Z")\
**Posts on this page:** 1\
**Page:** 2

<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 25, 2021, 2:40pm UTC](https://community.open-emr.org/t/getting-error-while-calling-the-authorization-code-grant/16300/21 "2021-06-25T14:40:40Z")

</div>

You are missing a number of parameters that you need. Also you really should create a new forum thread. This thread is dealing with Authorization Code Grant and you are using the Password Grant.

Please refer to the documentation for the [API Password Grant] ([openemr/API\_README.md at master · openemr/openemr · GitHub](https://github.com/openemr/openemr/blob/master/API_README.md#password-grant)) for the parameters you need. If you continue to have issues, please open up a new forum thread as this thread is only relevant to the Authorization Code Grant.

[Previous page](https://community.open-emr.org/t/getting-error-while-calling-the-authorization-code-grant/16300.md?page=1)
