Client error: `POST` resulted in a `400 Bad Request` response: {"success":false,"message":"Invalid grant: authorization code is invalid"}

i am getting this error this error on refresh url, first time authorize succeed then it happened

once we got authenticated through pipedrive after installing the app when should to call authorize method to see whether token expired or not?

Are you exchanging to the access token?

i have done with this issue, thanks