Unable to authenticate user using Orchestrator API

Hello there,

I am trying to authenticate a user using orchestrator API via postman. Orchestrator being used is an in-house type. I am passing the following parameters to the API:

API: https://rpa-manager-qas.ABC.net/api/account/authenticate/
{
“tenancyName”: “Development”,
“usernameOrEmailAddress”: “",
“password”: "
*********”
}

I am getting the following response:

{
“message”: “loginModel must not be null”,
“errorCode”: 0,
“resourceIds”: null
}

I have gone through other similar topics discussed on the forum but I haven’t understood it completely as to how to resolve the issue. Can anyone point me to the root cause of the issue? Any incorrect/hidden parameters being passed inadvertently?

Thanks

Hello!

Usually this error happens when the JSON is not well-formed.
In your case, it seems that the quotation characters might be the problem.
Try using " instead of :

{
    "tenancyName": "Default",
    "usernameOrEmailAddress": "admin",
    "password": "abc123"
}
1 Like

I am using Postman to pass these parameters to the API, not sure if quotation matters here…

Hi! Did you solve this problem? I have the same problem here…