I have a workspace published on FMECloud which is triggered by http requests from an api. The request contains a geojson geometry defining an area of interest. With larger geometries I receive an error from FME saying the request payload is too large. Can someone tell me the size limit on request payloads and is it possible to configure it to a larger value?
Is there a size limit on the payload of an Http request received by FMEServer/FMECloud?
Best answer by david_r
Thanks for the prompt replies on this.
The geometries we are sending are already buffered and generalized, we don't want to reduce them any further. After reviewing the cloudwatch logs for the service we found that the api is using a GET request to send the geometry along with other parameters. We are going to try updating this to a POST which should take a bigger payload.
If this means that you're currently sending the JSON as a URL-encoded parameter with a GET, then you're likely hitting the URL length limitation, which is de-facto around 2000 characters. This is not specific to FME.
Sending the JSON by POST should go a long way to fix this.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.