validation_mode
query parameter to strict
. The following example shows how to enable strict validation mode in your request.
mapping_failed
code and no validation_errors
object.validation_failed
code and validation_errors
object.gzip
compressed payload to the Mappings API, set the Content-Encoding
header to the value of gzip
. Mappings API currently only supports gzip
compression.
Note that the maximum document size limit is applied after decompressing the content of the payload. If the decompressed payload of a given request is larger than the maximum document size limit, the Mappings API will reject the request.
The following is an example written in TypeScript of creating mapping and sending a gzip
compressed payload to the /map
endpoint.
429 Too Many Requests
response.