The CreatorCon Call for Content is officially open! Get started here.

Attachment creation failed in ECC Queue payload field

divyavashishtha
Tera Contributor

While doing integration via scripted SOAP, on target instance's ECC Queue payload field I am getting an error "Attachment creation failed".

find_real_file.png

Can anyone help me how can i troubleshoot this as i am getting correct response with target sys_id from target side.

find_real_file.png

I have created a before business rule in in sys_attachment table in source instance. also there is no size limit on target instance for attachment file.

Thanks in Advance!

1 REPLY 1

Lavlesh Garg1
Giga Expert

Dear Divya,



One reason may be the attachment size (AttachmentCreator SOAP Web Service - ServiceNow Wiki). There is a size limit of 5MB for SOAP. Although, while I was testing, I could send a 2 MB file and 3.9 MB file failed with same error as yourself.



You may want to check the system property 'glide.soapprocessor.large_field_patch_max' as well. Default value for this is '512000' to limit the file size to 5MB for SOAP.



Regards,


LG