glide.attachment.extensions restricting the 64bit image from payload in ecc queue

yoga1
Tera Contributor

We are allowing only few extensions to be attached in our instance using the property glide.attachment.extensions. We also have a routine which would bring images(jpeg/png) to our instance through payload in ecc queue. But the attachment creator is not creating the attachment and says  " Attachment creation failed".

 

If I remove the values from the property, then it is working as expected. Any idea what additional extension that has to be added to the property? Below are the allowed extension what we currently have

 

3gp,accdb,bmp,cap,cluster,config,crt,css,csv,dat,do,dbf,doc,dot,dotx,docm,docs,dif,docx,emf,eml,gif,htm,html,ico,icon,ics,jpeg,jpg,JPG,json,lic,m4a,MHT,mhtml,MOV,mp3,mp4,mpo,mpp,msg,ods,odp,odt,p7m,p7s,pdf,pips,pfx,png,PNG,pngx,prn,ppt,potx,pps,ppsx,pptx,pub,rtf,sql,svg+xml,svg,swf,slk,tgz,tif,txt,thmx,vcf,vsd,vsdx,vdw,vdx,vsdx,wav,wpk,wmv,wmz,wsdl,xlam,xml,xls,xlsb,xlsm,xlsx,xltx,xmcd,xml,xps,zip,jar,js,ixx,webp,iix

8 REPLIES 8

ersureshbe
Giga Sage
Giga Sage

Hi,

You should configure the attachment types in the following fields. Based on the config the system property ie., glide.attachment.extensions is getting the value.

 

find_real_file.png

find_real_file.png

Can you check the file type restriction in the above screenshot?

Please mark the correct answer if it helped.

Regards,

Suresh.

Regards,
Suresh.

yoga1
Tera Contributor

Thanks for the reply Suresh. Yes that property is restricting the payload to create the attachment. I am trying to create attachment using attachment creator soap webservice. I have tried adding the extension that I am sending as an payoad but didnt work

Hi,

Can you try below article and check field is having correct values.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0546294

Can you share the error screenshot to understand payload structure Regards, Suresh

Regards,
Suresh.

yoga1
Tera Contributor

I have attached the soap input and property value.

If I make property value empty, attachment is getting created successfully. Else I am receiving error in ECC Queue payload " Attachment Creation Failed"