Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error when consuming backend without basepath

Not applicable

Hi,

We are trying to hit a SOAP service on a backend. We see the below error in Apigee :

Properties

error Request path cannot be empty

type ErrorPoint

state TARGET_REQ_FLOW

error.class com.apigee.errors.http.server.InternalServerError

error.cause Request path cannot be empty

Identifier fault

The target.url that we have configured is as below :

target.url = https://somebackend.com:8888

It is very much valid to consume a service that is hosted on just a host:port right ?

However, if we do add a "/" and make it https://somebackend.com:8888/ the calls continue further and reach the backend.

Why is this so? Is there any workaround ?

Thanks in advance.

Rangan

0 4 1,811
4 REPLIES 4