Issue in Attachment API

Sudiksha Misra
Tera Contributor

Hi, 

 

I need help to understand the error we are getting in the postman while testing our attachment API. I had checked all the extension formats are allowed and present in the system properties. Could you please guide me on what am I missing ?

 

SudikshaMisra_0-1746016095430.png

 

3 REPLIES 3

Mohith Devatte
Tera Sage
Tera Sage

Hello @Sudiksha Misra ,

 

Can you please check if the file extension is correct ? it should be your_file_name.csv 

 

Hope this helps 

Thanks

Mohith Devatte

Ankur Bawiskar
Tera Patron
Tera Patron

@Sudiksha Misra 

seems you are giving wrong file name

the file name should end with .csv

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

JenniferRah
Mega Sage

Check the system property glide.attachment.extensions. If it's blank, it allows all extensions. If not, then you will need to make sure your extension is allowed.