Invalid Grant Error
If you're getting the following error when authenticating with the QuickBooks Online API:
according to the QuickBooks Online help article you might get this error for a number of reasons including:
- the refresh token has expired
- you are using an old refresh token instead of the latest one
- the refresh token has been revoked
The only way to solve this error is to re-authenticate so you can get a new authorization code.