com.glide.rest.domain.UserException: Rejected large REST payload with content-length=11878749 bytes. Max allowed: 10 MBDescriptionYou're using a Scripted REST API and see this error in System Logs->Errors: com.glide.rest.domain.UserException: Rejected large REST payload with content-length=11878749 bytes. Max allowed: 10 MBAnd the client application/script/browser sees a HTTP 500 response returnedRelease or EnvironmentAll ServiceNow ReleasesCauseThere are three properties which control the maximum size allowed in a scripted REST API request payload: glide.rest.scripted.max_inbound_content_length_mb glide.rest.scripted.max_inbound_gzip_content_length_mb glide.rest.max_content_length ResolutionYou would usually need to increase the value of all three System Properties, to match the size of file you're uploading. Note that files sent Base64 encoded are around one third bigger than they appear on disk. Please refer to the documentation page Controlling maximum request size for more on how these System Properties interact and what the maximum allowed values are: https://docs.servicenow.com/bundle/paris-application-development/page/integrate/custom-web-services/reference/r_ControllingMaxRequestSize.html Additional InformationIf you've increased the size of these System Properties you may also see this error: Error on REST/SOAP Outbound Message through MID Server - No response after waiting 30 seconds in ECC Queue, if so refer https://support.servicenow.com/kb_view.do?sysparm_article=KB0744311