403 Error when doing a GET request to /orgstructure

Gerald.T.717
Gerald.T.717 Posts: 9 🌱

We are able to make a successful GET request to /organization/info but getting a 403 for /orgstructure.

What are we missing?

Kind regards,

Gerald @ Edlink.

Tagged:

Answers

  • Steve.B.446
    Steve.B.446 Posts: 74

    403 is a permissions error, so it sounds like the account you are using to make the call does not have the relevant permission. Note that /organization/info can be run anonymously but /orgstructure needs proper authentication, according to the Valence docs.

  • Gerald.T.717
    Gerald.T.717 Posts: 9 🌱

    For reasons unbeknownst to us, the user can now make calls to /orgstructure. No changes in their settings were made in between today and yesterday.