Attachment size limit for outbound SOAP messages.

Nilesh4
Tera Contributor

Hi, 

Did anyone faced challenges in transferring large attachment over SOAP? more than 10 MB.
I have a scripted SOAP API which is used to transfer request information and attachments outside ServiceNow.

For some requests attachments are more than 10MB and I am getting an exception in backend.

EXCEPTION: "String object has exceeded maximum permitted size of 33554432".

I have overcame default 5MB size issue also tried setting system properties mentioned in community and changing payload max lengths but no success. 

1 ACCEPTED SOLUTION

Nilesh4
Tera Contributor

Finally it is working, Checked with HI support. 

We needed to update two properties and increase payload field size on ecc queue table. 

glide.size.aware.max_size.org.mozilla.javascript.NativeString -> 83886080 
glide.size.aware.max_size.java.lang.String  - >  83886080

 

- Nilesh

View solution in original post

5 REPLIES 5

I don't see these properties available in instance. Do we have any other workaround for this issue ?

 

Thanks!