Forum Discussion

DathanTenter's avatar
DathanTenter
Qrew Member
14 days ago

Quickbooks Online Authorization: Auth2.0 Tokens expiring after 24hrs

Getting an "invalid_grant" error after 24hrs. 

For the life of me I cannot figure out how to keep the tokens working past 24hrs. This pipeline runs every hour and returns updated refresh and access tokens. Everything works fine for 24hrs. 

This is from Inutuit Dev: 

"Tip: We update the value of the refresh_token value every 24 hours hours, or the next time you refresh the access tokens after 24 hours. This is an additional security measure by Intuit to reduce risk of compromise."

Somehow refreshing both every hour is not meeting this requirement? We had a pipeline running every 12hrs also to get a refresh token separately but the results were the same. I feel like we are close, but just missing the timing of the pipelines or something else simple.  PLEASE HELP!!

I can provide more information beyond the two attachments as needed.

No RepliesBe the first to reply