401 error with yo oauth-auth-code-grant-sample

Not applicable

I'm following the instructions in the readme for oauth-auth-code-grant-sample and I keep getting 401 errors. I'm using the same credentials I use to log into enterprise.apigee.com. It is a trial account if that makes a difference.

$ yo oauth-auth-code-grant-sample

Sample Generator of OAuth Authorization Code Grant Type Proxies.

? Your user name <enterprise_apigee_email>

? Password [hidden]

? Management API URL Endpoint https://api.enterprise.apigee.com

? Organization Name <organization-name-from-portal>

? Environment Name prod

.

.

.

create <path>/webserver-app/apiproxy/webserver-app.xml

Error: Get API info returned status 401

Error: Get API info returned status 401

using <apigee-account-email-address> and <organization>

0 2 183
2 REPLIES 2

@Patrick Fleming , Trial org should work !

Make sure credentials are same as Apigee Edge Org Admin - Your Apigee Edge Account Email & Password.

Also, Tool might have problem with special chars. May be try resetting your password without special chars & try same.

I am facing same issue but while resetting the password its asking for special character as well.

please suggest how to resolve this.

Thanks