Environment
Orchestrator deployed to an Azure web app running version 2018.1.1.
Issue
When I make any POST request to the API it returns a 400 - Empty or invalid anti forgery header token response. Initially I thought this may be because of some bad syntax in the request body but I’m getting the same issue with something as simple as updating the package version of a release
e.g.
I POST this:
{
“packageVersion”: “{{packageVersion”
}
to https://{{host}}/odata/Releases({{releaseId}})/UiPath.Server.Configuration.OData.UpdateToSpecificPackageVersion
and receive the 400 response.
Making a GET reqauest such as authenticating of getting releases works fine and as expected. The user authenticating through the API also only belongs to one Organization Unit (OU) but there are multiple OU’s in Orchestrator.
Any thoughts?