This error can be seen through trace session within API Management, just before the request is sent to the target server. The resource on the REST service is encoding the response as UTF-8. The last policy to be acted upon, before the error is thrown, is an AssignMessage policy type designating the target server url among other headers set.
Sorry BASU, I cannot share the request trace on here. Paul I did try and send the encoding back as lowercase utf-8, but got the same error back, just in lowercase utf-8.
@Beal , Can you attach a sample proxy to reproduce above issue ? Any pointers to reproduce above issue will be helpful to find a resolution. Keep us posted.
Looks like the issue has been .encoding(“UTF-8”) in the service response. Apigee would not accept an incoming request to my Apigee proxy without Content-Type=“charset=UTF-8” being set. The problem with that is the service would return a 400 Bad Request error, if the above Content-Type was sent from the proxy to the service provider. The easiest solution to this problem has been to remove the UTF-8 encoding from the service resource.
I am facing the exact same issue. Did you find a work around for this. I don’t have the luxury to change the provider response. Please share if there is any possible solution.