
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2016 04:20 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2016 02:22 PM
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
..
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2016 09:41 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2016 09:25 PM
Here is a link to the KB - ServiceNow KB: Creating attachments using Web Services (KB0546294)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2016 02:22 PM
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
..
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2016 11:09 PM
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