Hi - I work with Michael and here’s some more info:
We are using Apigee Edge / Cloud and are trying to deploy a component using apigeetool, which initiates API calls to Apigee. The failure seems to occur when apigeetool POSTs to a URL of this form:
https
/api.enterprise.apigee.com
/v1
/o
/myorg
/e
/dev
/apis
/myapi
/revisions
/52
/deployments
Deployment has been working for some time and this particular component was last deployed a couple of weeks ago.
See line 700 of the below apigeetool source file:
https://github.com/apigee/apigeetool-node/blob/master/lib/commands/deployproxy.js
ERROR EXPERIENCED BY APIGEETOOL
Deployment on dev result: "{\n "code" : "hosted.target.UnexpectedTurboStatusCode",\n "message" : "Invalid status code from backend deployment service (403): Token has expired or not active yet\n"
Error: Invalid status code from backend deployment service (403): Token has expired or not active yet
at Request._callback
(C:\Program Files\nodejs\node_modules\apigeetool\lib\commands\
deployproxy.js:737:12)
at Request.self.callback
(C:\Program Files\nodejs\node_modules\apigeetool\node_modules\
request\request.js:188:22)
IS IT RELATED TO SSL WARNINGS?
I notice that this URL is not valid (I can’t paste it in this page) and gives me a browser warning: ‘Your connection to this site is insecure’ (in Chrome or Firefox):
https
/api.enterprise.apigee.com
/v1
Whereas this URL seems to have a trusted SSL certificate and I can paste it here:
https://api.enterprise.apigee.com/v2