"Failed usergrid authentication : error_description-invalid username or password"

Hi,

When I try to provision the remote service proxy on Apigee Edge using below command (for remote-service) (Reference Document)

./apigee-remote-service-cli provision --legacy --username $USER --password $PASSWORD \
    --organization $ORG --environment $ENV > config.yaml

I get following error :

Error: error initializing Edge client: 401 {0 {"error":"unauthorized","error_description":"Failed usergrid authentication : error_description -invalid username or password"} }

I have cross-verified all variables (ORG, ENV, USERNAME, PASSWORD) & they are CORRECT.


I also have passed those variables directly as a string but still no luck.

Can anyone help me with this ?

Thanks in advance

0 2 189
2 REPLIES 2

Not applicable

Does your password contain special characters? I faced that type issue sometimes.

Hi Priyadarshi, no; password does not contain any special characters. That's the problem that i'm not able to figure out as same credentials works fine when we obtain token for apigee using curl call. But not working for remote-service-cli. 😞