Hi I am trying out the tutorial at
http://apigee.com/docs/api-services/tutorials/part-3-use-xml-samples-and-deployment-tools . At step 2.4 my deployment fails with status 400.
Here is the log:
Enter your password for the Apigee Enterprise organization zzz, followed by[ENTER]: Deploying to test on https://api.enterprise.apigee.com using zzz@zzz.com and zzz Writing ../conditional-policy\deploy.sh to .\deploy.sh Writing ../conditional-policy\invoke.sh to .\invoke.sh Writing ../conditional-policy\README.md to .\README.md Writing ../conditional-policy\apiproxy\conditional-policy.xml to apiproxy\conditional-policy.xml Writing ../conditional-policy\apiproxy\policies\Timer.xml to apiproxy\policies\Timer.xml Writing ../conditional-policy\apiproxy\proxies\default.xml to apiproxy\proxies\default.xml Writing ../conditional-policy\apiproxy\resources\py\timer to apiproxy\resources\py\timer Writing ../conditional-policy\apiproxy\targets\default.xml to apiproxy\targets\default.xml Imported new proxy version 3 Deploy failed with status 400: If 'State: deployed', then your API Proxy is ready to be invoked. Run 'invoke.sh'
I can manually deploy the proxy from the Management UI, but I am not able to figure out what is going wrong with me running the scripts.
Please help.
Solved! Go to Solution.
I just took a look at this tutorial, and made a change to step 2.4 from:
$ deploy.sh
to:
$ sh deploy.sh
Please see if that helps.
Stephen