In our dev environment, we are receiving the following exception when trying to request the token from the Auth API based on the audience. This code has been working fine for awhile, but just started failing within the last few weeks only in our dev environment. The code works fine in all our other environments, so I suspect this is something specific to our dev environment setup.
AuthRequest authRequest = authAPI.requestToken(config.audience); // Get new access token as the API management token expires TokenHolder tokenHolder = authRequest.execute();
Request failed with status code 500:
Script generated an unhandled
Any ideas how to fix this error?