We are getting BadRequest error when trying to generate an access token from refresh token.
To give a bit more context to it we have a .net application that integrates with RC to retrieve the calls. For this, we have a background job hosted in azure. As part of this job, we make HTTP request to generate the access token sending the request to /restapi/oauth/token . We generate a new access token every 10 mins.
What we are seeing is that this job seems to run for days and then for no reason it starts to fail with bad request error. Once it starts failing it never picks up and eventually the access token expires and once the access token is expired there is no way to get the job to run successfully and we have to get back to the customer to authorise again.
We have seen this happen a couple of times now and not sure what would be causing this kind of behaviour.
Any help would be greatly appreciated.