Import failed to /v1/organizations/abhisheknoldus/apis?action=import&name=xmltojson with status 401:

I am not able to deployed sample proxy xmltojson of github sample application.

setenv.sh details as below:

org=“abhisheknoldus”

username="abhishek@knoldus.com"

url=“https://api.enterprise.apigee.com

env=“test”

api_domain=“apigee.net

after this

cd sample-proxies/xmltojson

./deploy.sh

output as below :

Enter your password for the Apigee Enterprise organization abhisheknoldus, followed by [ENTER]: Deploying to test on https://api.enterprise.apigee.com using abhishek@knoldus.com and abhisheknoldus Writing ../xmltojson/invoke.sh to ./invoke.sh Writing ../xmltojson/deploy.sh to ./deploy.sh Writing ../xmltojson/README.md to ./README.md Writing ../xmltojson/apiproxy/xmltojson.xml to apiproxy/xmltojson.xml Writing ../xmltojson/apiproxy/targets/default.xml to apiproxy/targets/default.xml Writing ../xmltojson/apiproxy/proxies/default.xml to apiproxy/proxies/default.xml Writing ../xmltojson/apiproxy/policies/xmltojson.xml to apiproxy/policies/xmltojson.xml Import failed to /v1/organizations/abhisheknoldus/apis?action=import&name=xmltojson with status 401:

If ‘State: deployed’, then your API Proxy is ready to be invoked.

Run ‘invoke.sh’

401 sounds like “unauthorized”.

Which means your password is incorrect, OR

your password is correct and your user does not have the appropriate permissions to deploy.

@Dino thanks it’s done . :slight_smile: