Getting 415 Unsupported Media Type intermittently for the same request in APIGEE

Hello,

I am facing one strange issue in APIGEE. i could see some messages are failing with the below error in the trace logs 

error status code: 200
error message : com.apigee.flow.message.MessageImpl@4fba4d9b
error message content : {"fault":{"faultstring":"Unsupported Encoding \"none\"","detail":{"errorcode":"protocol.http.UnsupportedEncoding"}}}

 

 

Vignesh0808_1-1682362145122.png

When I tried to re-post the same request message again(which failed) for the same API proxy, its working(i used postman to post the message on both success and failed instance).

Not sure whether its the issue. its failing within API proxy request flow 

Thank you in advance

@dchiesa1 @DChiesa @anilsr @anilsagar 

0 2 563
2 REPLIES 2

can you please share header:

i assuming header have some thing like this:

Content-Encoding: UTF-8

so apigee is throwing 415,  it valid error but it can be easily modified at your proxy level 

Thanks for replying..!

Please find below snap

image.png

We are sending content-type as application/x-www-form-urlencoded. we trying to send the contents in query-params to target.  

Any lead on this issue will be helpful for me.