We are getting the error "Internal server error Received unknown request for Organization"

Not applicable

We have internal API when we are trying to call that API using serviceCallout we are getting the below error " Internal server error Received unknown request for Organization"

0 8 703
8 REPLIES 8

Not applicable

Please provide more info - service callout code if possible.

Hi , We will be sending the request to an InternalAPI using servicecallout policy - it is a request call. It is failing and we are getting the below error " Internal server error Received unknown request for Organization"

Not applicable
this is actual error messaging.adaptors.http.ServerError

What is the URL you are sending the request to? does it work from curl command or browser

It is an internalAPI call .we cannot access it from outside and it is http

Hi, @Kodandapani. If I'm understanding what you're saying, then your internal HTTP endpoint cannot be reached from Apigee in the cloud. You will have to either expose the endpoint to the Internet, or you can install Apigee Edge inside your firewall.

Hi Lee,

This should actually be the answer for this question. Can you try to convert this to an answer and if that doesn't work, copy/paste this comment into an answer.

Not applicable

@Kodandapani , you will see this issue when Mp-env association is not proper or if the apiproxy is not deployed properly to few Mps . You can check the deployment status using the below API which can provide you more information .

$ curl -u example@apigee.comhttps://api.enterprise.apigee.com/v1/organizations/prod/apis/DetailsAPI/deployments