Jump to content

Andrew Lockwood

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral
  1. I am trying to send a GET request to https://api.accounting.sage.com/v3.1/contact_allocations to return all contact allocations. The only header I am adding is an authorization header containing the access token in the form "Bearer xxx...xxx"
  2. I have managed to request an authorization code, and convert it into an access token. However, when I then make a request using the access token, I get an "Unauthorised Access" error, the JSON response being:- [{"$severity":"error","$dataCode":"AccessTokenVerificationError","$message":"Access token is invalid (JWT malformed or missing).","$source":"Authorization"}] I am not doing any encoding or decoding. I am simply using the access token as it is presented to me. Can anyone tell me what is going wrong?
  3. Thanks!!! It is a pity the official documentation cannot include such a simple, but critical bit of information.
×
×
  • Create New...