Invalid grant error
Posted: Mon Feb 22, 2021 11:55 pm
Hi ,
I am using simpro's OAuth api (/oauth2/token) to fetch a new refresh token , however, sometimes I get an Invalid grant error.
The invalid grant errors are totally random.
The simpro docs specify that a refresh token is valid for 14 days. So technically I should never get the invalid_grant error within that 14 day period.
Is there a cap on number of requests ?
What could be the reason of the refresh token expiring randomly?
Please advise.
I am using simpro's OAuth api (/oauth2/token) to fetch a new refresh token , however, sometimes I get an Invalid grant error.
The invalid grant errors are totally random.
The simpro docs specify that a refresh token is valid for 14 days. So technically I should never get the invalid_grant error within that 14 day period.
Is there a cap on number of requests ?
What could be the reason of the refresh token expiring randomly?
Please advise.