Jump to content

Request Access Token Internal Server Error


 Share

Recommended Posts

Hi,

I am trying to receive an access token for using the Sage Business Cloud Accounting API. I'm using Postman as per the guide: https://developer.sage.com/accounting/guides/authenticating/postman/. The login screen loads the first time and I click my region (South Africa), the page reloads with "Internal Server Error". Every attempt after that loads the same error page. I'm using: https://www.sageone.com/oauth2/auth for the auth url, and https://oauth.accounting.sage.com/token for the Access Token Url. All other details are as per the guide and my App details page.

Thank you!

Link to comment
Share on other sites

Hi Daniel, thank you for your question.

The version of Sage Business Cloud Accounting available in South Africa is a different product to the SBCA product documented here, and requires the use of a different API. As such there is a different site available to give you details etc. You can find the pages here: Developer API - Sage Business Cloud Accounting | Sage South Africa

The page has links to register your app for use with this API, details on the auth process and a full API specification.

Thanks

Mark

Link to comment
Share on other sites

  • 10 months later...

Hi,

I am trying to receive an access token for using the Sage Business Cloud Accounting API. I'm using Postman as per the guide: https://developer.sage.com/accounting/guides/authenticating/postman/. The login screen loads the first time and I click my region (UK), the page reloads with "Internal Server Error". Every attempt after that loads the same error page. I'm using: https://www.sageone.com/oauth2/auth for the auth url, and https://oauth.accounting.sage.com/token for the Access Token Url. All other details are as per the guide and my App details page.

Thank you!

Link to comment
Share on other sites

The callback URL you've set doesn't look correct. If you're using the POSTMAN app try using the POSTMAN callbackurl - https://www.postman.com/oauth2/callback first before moving on to your localhost callback. You'll also need to add this to your app registry callback urls.

I would also change the Client Authentication to Send as Basic Auth header. It looks as if the images we have in the docs are out of date and could do with updating.

Thanks

Mark

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...