Im successfully pulling back data from the FreeAgent API
(Recurring invoices etc) - However, the app has to automatically update
it’s token (It’s a Reporting service). When ever I post data (Details
below) I get a 401 Unauth. I know the token works as I can get data, it’s
only happening when I post the refresh token.
I’m glad to hear you managed to figure it out. If you run in to any more
problems our documentation site is at https://dev.freeagent.com/docs/ in
case you haven’t found it yet and if that doesn’t answer your question
please do get in touch.
Regards,
Harry MillsOn Mon, Jan 28, 2013 at 2:27 PM, liam@liambateman.net wrote:
Hey,
Im successfully pulling back data from the FreeAgent API
(Recurring invoices etc) - However, the app has to automatically update
it’s token (It’s a Reporting service). When ever I post data (Details
below) I get a 401 Unauth. I know the token works as I can get data, it’s
only happening when I post the refresh token.
Looks like I need to send, App Secret and ID over as well. Seems to be ok
now, there are a few posts on this forum that dont mention that and I was
using that as a guide. Google’s Playground pointed me in the right
direction!
Im successfully pulling back data from the FreeAgent API
(Recurring invoices etc) - However, the app has to automatically update
it’s token (It’s a Reporting service). When ever I post data (Details
below) I get a 401 Unauth. I know the token works as I can get data, it’s
only happening when I post the refresh token.