Skip to Content
0
Sep 10, 2020 at 01:35 PM

SAP API Management Request.Verb Empty

136 Views Last edit Sep 10, 2020 at 01:42 PM 3 rev

Good afternoon,

I am getting an odd behaivour in SAP API Managment so let's see if someone has encountered the same issue.

We have an API Proxy with to Target Endpoints where one of them does not call to any backend.

For the POST operation everthing works fine but for the GET opeation we are getting the error below:

{"fault":{"faultstring":"Unable to route the message to a Target Endpoint","detail":{"errorcode":"messaging.runtime.RouteFailed" } }}

After debugging, what I have observed is that the system variable request.verb is empty, therefore, when doing the comparison to determine the target endpoint if fails.

At the start of the process:

When determining the target:

The policies applied are:

- Retrieve a value from the cache with a CacheLookUp.

- Set the payload with an AssingMessage.

Any idea why this system request.verb variable gets blanked?

Many thanks!

C.

Attachments

b6g4q.png (14.8 kB)
after.png (20.7 kB)
before.png (19.6 kB)