HttpException: Unsupported Content-Coding: none when receiving error from REST Service

0
Currently consuming a REST service on which I post/put/get some items. The service and connection work fine, I can update, retrieve and post items without trouble. However whenever the REST service throws an error (limit exceeded, object not found etc.) Mendix also throws an error (content-coding:none) and I can't see the actual error the REST service throws at me.  The response headers from the REST service (as seen by Postman/SoapUI) HTTP/1.1 429 Too Many Requests Date: Wed, 21 Dec 2016 09:20:16 GMT Content-Type: application/vnd.merchantos.pos-v1+xml Content-Length: 387 Connection: keep-alive Set-Cookie: __cfduid=dfe7593f94ede98544ca40f0f62e2d1421482312016; expires=Thu, 21-Dec-17 09:20:16 GMT; path=/; domain=.merchantos.com; HttpOnly Content-Encoding: none Retry-After: 62 X-LS-Acct-Id: 136721 X-LS-API-Bucket-Level: 185.74972629548/180 X-LS-Master-Account: true X-LS-Master-Catalog: false X-LS-Master-System: true X-LS-OAuth-Client-Id: 39128 Server: cloudflare-nginx CF-RAY: 314a41d6fe432c6c-AMS <?xml version="1.0"?> <Error><httpCode>429</httpCode><httpMessage>Too Many Requests</httpMessage><message>Rate Limit Exceeded: Please decrease your request volume. To eliminate this message, keep your request rate below 3 requests per second. Clients that continue to receive this response may have their traffic throttled.</message><errorClass>RateLimitedException</errorClass></Error>   Is there any way for me to get this message in mendix aswell? Mendix seems to thrown an exception because of the Content-Coding:none. Is there a way to circumvent this?   Edit: When receiving a respone when, for example, posting a new item all goes well. The only real difference I can see in the reponse is that now the content-encoding is actually filled: Content-Encoding: gzip
asked
0 answers