I am using the Quickbooks API for my application and I have used
https://intuit.github.io/QuickBooks-V3-PHP-SDK/authorization.html
generate-oauth-2-0-tokens for token generation.
The token is created successfully and I am able to use the token for updating Quickbooks. The problem is that after 1 day I receive the following error:
Refresh OAuth 2 Access token with Refresh Token failed. Body:
[{"error":"invalid_grant"}]
.