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

Accept-Encoding csv headers getting converted into individual headers and failing inside of the Apigee Edge

Env: OnPremise OPDK 1701

Problem : Client is sending the Accept-Encoding header as comma-separated-value (gzip,deflate,br) but somehow when Apigee Edge receives the request payload all CSV headers are being converted into individual headers (below) and the call is failing internally within the Apigee Edge with 500 internal error.

Accept-Encoding: gzip

Accept-Encoding: deflate

Accept-Encoing:br

Error Response :

<?xml version="1.0" encoding="UTF-8"?> <errors> <error>~ARRAY~</error> </errors>

ResponseContent in Trace :

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns="">SOAP-ENV:Server.InternalServerError</faultcode><faultstring xmlns="">[Ljava.lang.String; cannot be cast to java.lang.String</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

The same API works fine in the SaaS Apigee Edge.

Any help or pointers will be highly appreciated. Thanks.

0 2 511
2 REPLIES 2