Apparently my API Proxy does not exist

不打扰是莪最后的温柔 提交于 2019-12-25 03:54:37

问题


I've created a new API Proxy and deployed revision 1 into production, but when I call my API I just get:

HTTP 500 Internal Server Error
{
    "fault": {
        "faultstring": "Internal server error APIProxy revision 1 of MyProxy does not exist in environment prod of organization MyOrg",
        "detail": {
            "errorcode": "messaging.adaptors.http.ServerError"
        }
    }
}

Not the most helpful error message in history. Any pointers where to start debugging this would be very helpful, thanks!


回答1:


You appear to be using the wrong url for your API, so it could not be found. If you haven't added any API key checking or additional authorization, you should be able to copy the url directly from the API details page in the prod Deployments line. Start a trace session and paste that url into the URL box. Test what happens when you do that trace.

If you have any additional security or other features that would alter the API, you would need to make those changes to the URL before sending it. If you're still having a problem, send an email to help@apigee.com.



来源:https://stackoverflow.com/questions/25017506/apparently-my-api-proxy-does-not-exist

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!