athenahealth / apiserver-athenaFlex

Software developers can use sample code and documentation to use athenahealth's athenaPractice/athenaFlow FHIR API Server.
https://mydata.athenahealth.com/home
17 stars 7 forks source link

"An unexpected error has occurred. Please try this operation again later." #248

Closed muzammil-syed closed 1 year ago

muzammil-syed commented 1 year ago

Ref site: https://mydata.athenahealth.com/access-the-apis

How do I Generate an access token, I am able to generate authorisation code. While making request on Postman, I had the following error PFA(Img#1).

I added bearer token i.e, username(client_id) & password (client_secret) and set the body as mentioned in the instruction PFA(Img#2).

Img#1: image

Img#2:

image
muzammil-syed commented 1 year ago

@AjeetYadav07 can you please help me on this.

AjeetYadav07 commented 1 year ago

Hi @muzammil-syed, The authorization workflow is different in POST mode as compare to GET mode of request for access token. please look at github issue 241.

muzammil-syed commented 1 year ago

Okay thanks @AjeetYadav07 , I will look into it and close the issue if it works.

AjeetYadav07 commented 1 year ago

Marking this issue as Closed. if you any concern, register a new ticket.

muzammil-syed commented 1 year ago

Okay thanks. I will raise a new one on a different problem. This is solved.