API Token not working after a couple of days

I have a client who is running a script every hour to push data from a Google sheet into Keap.

They have requested credentials from accounts.infusionsoft.com and the client Id and secret are generated form this.

They are finding that after just a few days (not 90) that the refresh token stops working.

As I don’t understand the API, I’m struggling to find the help they need to make this work.

Can someone either help, or point us in the right direction for how we can solve this particular issue please?

Are you trying to use the same Refresh Token on subsequent calls?

Per the guide:

Note: Once a Refresh Token is used to receive a new Access Token, you will be returned a new Refresh Token as well, which will need to be persisted in order to request the next access token.