API Authentication


I’m having trouble authenticating via the API to our local 2016.2 orchestrator. I can auth successfully at https://demo.uipath.com/api/account/authenticate, but our local installation always returns a status code of 500.

Authentication calls are being made via python 3.4.4 using the requests 2.18.2 library:
response = requests.post(url, json={"tenancyName" : "SOMENAME", "usernameOrEmailAddress" : "SOMEEMAIL", "password" : "SOMEPASS"})

Digging a little deeper, the error we’re getting is “Must set LocalizationSourceName before, in order to get LocalizationSource”. No file is mentioned in the error.

Any suggestions on how to resolve this issue?

1 Like

The same issue are occuring in 2017.2 with windows Autentication active.

What I’m now finding is that Post requests in combination with Windows autentication is not supported prior to version 2018.1.
Is that the reason for retriving code 500 and described error: Must set LocalizationSourceName before, in order to get LocalizationSource ?

Anyone with insights around this?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.