Get "Attachment creation failed" in ECC queue. How can I troubleshoot? Any parameter to change?

gunnarg
Tera Contributor

Hi I'm troubleshooting the ECC queue to receive attachments.   Small attachments are OK. I have read that for SOAP it's a 5M size limit.   3.9M is OK. 4.5M fails. How can I find out why it's failed? payload result is "Attachment creation failed" I't probably something to large, but I can't see if the actual payload is missing. Or can I?   The parameter glide.soapprocessor.large_field_patch_max was 512000 and I increased it to 2000000, but I don't know if it's related. com.glide.attachment.max_size = 1024 (1G)   I can't find any other parameter that impact this that should prevent the file size.   Any idea, or am I to close to 5M limit?   BR Gunnar

1 ACCEPTED SOLUTION

tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Gunnar,


..(you) have read that for SOAP it's a 5M size limit - YES


AttachmentCreator SOAP Web Service - ServiceNow Wiki


..


Is there size limit on the attachment in the message


  • Attachments are limited to a maximum of 5MB.


REST attachment api


Attachment API


..


The Attachment API respects any system limitations on uploaded files, such as maximum file size and allowed attachment types. You can control these settings using the properties com.glide.attachment.max_size, 1024MB by default, and glide.attachment.extensions.


..


If you are using SOAP Attachment creator and if you see 3.9MB is OK and 4.5 MB is not OK, then it is probably not possible to fix this - other than change to using the REST attachment api available in Geneva.


Best Regards


Tony


View solution in original post

6 REPLIES 6

nilimadesai
ServiceNow Employee
ServiceNow Employee

Hello Gunnar,



Please check your system property for 'Maximum file attachment size in megabytes property (com.glide.attachment.max_size) as documented in this Wiki >>>>>   Administering Attachments - ServiceNow Wiki



This KB Article 'Creating Attachments using Web Services' specifically talks about the above and how they come in to play with the ECC Queue.



Hope this helps. Please click like and/or tag responses as being Correct or Helpful if this information helped.



Best,


Nilima


tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Gunnar,


..(you) have read that for SOAP it's a 5M size limit - YES


AttachmentCreator SOAP Web Service - ServiceNow Wiki


..


Is there size limit on the attachment in the message


  • Attachments are limited to a maximum of 5MB.


REST attachment api


Attachment API


..


The Attachment API respects any system limitations on uploaded files, such as maximum file size and allowed attachment types. You can control these settings using the properties com.glide.attachment.max_size, 1024MB by default, and glide.attachment.extensions.


..


If you are using SOAP Attachment creator and if you see 3.9MB is OK and 4.5 MB is not OK, then it is probably not possible to fix this - other than change to using the REST attachment api available in Geneva.


Best Regards


Tony


Thanks for your replies. I didn't point out which KB's I have read.. But all linked for soap and attachments have been studied. So probably I'm to close to the 5M limit for SOAP attachment method.


As we run the ticket integration with SOAP I thought it would be easiest to have attachments done with the same service. For upcoming integrations if +5M size is requirement I need to dive into the REST functions.



Thanks..



/Gunnar