pipedrive.exceptions.BadRequestError: invalid_grant

Hola amigos,
We have been frequently receiving invalid_grant issue on api request. Sometimes it prompts due to refresh token or sometimes due to access token. We have been trying to reach pipedrive support team but they redirect us to the dev community.

Is there anyone who can guide me through this.