Unable to generate the access token

72 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Raja Kushwah

unread,
Jun 29, 2021, 3:27:47 AM6/29/21
to Cerner FHIR Developers
Hi Team,

I am unable to generate the access token from the authorization code. Please find the request and response below.


Request Param-

Accept: application/json 
Content-Type: application/x-www-form-urlencoded
client_id:'xxxx'
state:'xxx'
code:'xxx'
grant_type:'authorization_code'

Response - 400Bad Request




Please also find the attached ss for more info.
Screenshot (195).png

Fenil Desani (Cerner)

unread,
Jul 12, 2021, 3:44:34 PM7/12/21
to Cerner FHIR Developers
Hello,

It seems the code you entered is not valid or has expired. the code UUID is short-lived and can only be used once.

Thank You,
Fenil (Cerner)

Soumyajit Kundu

unread,
Jan 11, 2022, 12:01:31 AM1/11/22
to Cerner FHIR Developers
Hi Raja, 
Did you get any solution for your invalid grant error? I am facing the same issue even if I use the code and state just after getting it.
Please send the solution if it resolved.

Thanks,
Soumyajit

Reply all
Reply to author
Forward
0 new messages