AnsweredAssumed Answered

Login problem with REST API in Enterprise environment /Portal

Question asked by nirojha on Feb 19, 2020
Latest reply on Feb 19, 2020 by nirojha

Hello,

 

For some time now, I have been unable to login using REST API nor I am able to generate token. It used to be working but now it is not working. No configuration has been changed. I used the following URL pattern for generating the token but I get response as invalid username or password:

https://webadaptor.domain.com/arcgis/sharing/rest/generateToken 

Response:

{"error": {  "code": 400,  "message": "Unable to generate token.",  "details": [   "Invalid username or password.",   "Invalid username or password."  ] }}
The only user account that works with the above URL and REST API is the default admin account, any other account results in 
Invalid username or password.
I can login to the portal fine with the browser https://webadaptor.domain.com/arcgis and it allows me to login using enterprise login.

Thanks.

Nirmal



Outcomes