Error "Payload attachment exceeds the limit of 5242880 bytes set by system property com.glide.attachment.max_get_size

Derek12
Kilo Contributor

Hello Community, 

Background: 

I am configuring an integration which is running through the MID server to an internally hosted application. We are using a RESTmessage and the MID Server. 

What we see is for larger responses, there is a "Payload attachment exceeds the limit of 5242880 bytes set by system property com.glide.attachment.max_get_size" error which is being generated. 

Oddly enough, the attachment is still being created by the ECC Queue and added to the sys_attachment table. What is odd is that the ECC seems to be setting the status to "error" before the attachment can be processed. 

It seems the com.glide.attachment.max_get_size should not be increased. However, we always get this error when the created file is over 5MB even though it is not an image. 

Is there a way we can not trigger the sys_property for these larger files?

 

1 REPLY 1

Greg75
ServiceNow Employee
ServiceNow Employee

Looking over the product documentation for administering attachments it states the system property and then states that 

 

Information provided from documentation below:

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/form-administrati...

 

Namecom.glide.attachment.max_get_size
Typeinteger
Value5242880

The value field represents the size in bytes. The base system value is 5242880 bytes (5 MB). You can change the value as necessary.

 

Have you tested by increasing this value ?