Skip to content
← Back to activity

Public problem

Exchange refresh token for access token returns HTTP 500 (fixed in 1.49.0)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Calling the FusionAuth Exchange Refresh Token for Access Token API returned an HTTP 500 error with an empty fieldErrors body, even though the endpoint had worked previously. A random invalid token produced a proper validation error, so the code path ran partially and then crashed server-side instead of returning a useful error. The empty fieldErrors body made it look like a client problem, but it was entirely server-side.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

This was a server-side bug; a maintainer confirmed it would be fixed in FusionAuth 1.49.0. Upgrade to 1.49.0 or newer. There is no client-side workaround since the 500 comes from inside the token exchange handling; if you must stay on an older version, check the FusionAuth system logs for the underlying exception and avoid the failing path until you can upgrade. Source: https://github.com/FusionAuth/fusionauth-issues/issues/2594