AIS: Can't get a token for anything other than default environment.
Hello,
VIA AIS, I am trying to get a token for JPY920. Our default environment is JDV920. I am making a POST call to the URL: http://HOST:PORT/jderest/v2/tokenrequest with the JSON body like below:
{
"username":"USERNAME",
"password":"PASSWORD"
}
This works successfully for JDV920 as that is the default environment. I try to add the optional parameter "environment", as seen below:
{
"username":"USERNAME",
"password":"PASSWORD",
"environment": "JPY920"
}
Upon making this call, I get the error below. I know this username and password has access to PY and I am able to use the credentials to go and manually login to JPY920. Appreciate any help.