We have an internal system that uses the FreeAgent API to pull down some data. It has been running fine for over 3 years now and today, after logging in and approving the app request and trying to make a call against the FreeAgent API we get a InternalServer error (our system).
On closer inspection it’s failing on extracting the
access_token from the
FAAccessToken. Looking at the token, it doesn’t seem to adhere to the standards of access_tokens because it has 2 equal signs in it meaning the first one gets URL encoded but 2nd one doesn’t.
access_token we get back looks like this:
In C# when I call
Request.Headers.GetCookies() and access the
FAAccessToken value I get:
I’m not sure if something has changed on the API end or what has happened but even looking at the announcement back from May 2020 about the API change, the
access_token in the example looks like this:
Can someone help me figure out what is going on?