Postman-freeagent-api-collection: app not recognized

Hi I’m just getting started with the API and trying to use the postman API collection here:

I’ve followed the instructions (I think). I’ve imported the collection into a new workspace; I’ve imported the sandbox variables into a sandbox environment. I’ve pasted in my client_id, client_secret - which were regenerated in my FA app.
However, when I click on ‘Get New Access Token’ and after redirection to the ‘Approve App!’ login, I get
‘Unknown Application’ from FA and the message:
We don’t recognise this app. Please get in touch with the author of the application you’re trying to approve.

I can login to my sandbox environment:

https://micdev.sandbox.freeagent.com/overview

My app has these OAuth Redirect URIs listed in this order

https://www.getpostman.com/oauth2/callback
https://developers.google.com/oauthplayground

I have followed the FA developer quickstart and tested the app in the google OAuth 2.0 Playground - so I know the client ID and secret are OK. All works, in that I can make a good call to the company endpoint:

https://api.sandbox.freeagent.com/v2/company

I’m unclear whether I need to get the app working with the OAuth 2.0 playground, but it does.

What am I doing wrong?
Thanks

Hi. Support. Can you help?

I’ve figured out what was going on and have created a PR to update the README to correct the postman OAuth Redirect URI when using the postman web app. Would a developer please review ? Thanks.

Hi Mic,

Welcome to our API Forum! :wave: My name is Katie, I’m one of the Support Engineers here at FreeAgent.

Apologies we didn’t manage to get to your original question to help you out, but I’m glad you were able to work out the issue yourself!

Our engineering team has reviewed the PR you created and has merged your changes into our repository. Thank you very much for the time you’ve taken to detail out the information, we really appreciate the contribution!

Kind regards,
Katie

1 Like