Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Getting invalid content type issue on attachment api

Sneha39
Mega Guru

Hi I am testing excel file from postman for attachment api but getting invalid file type , its not happening for pdf though.

Screenshot:

find_real_file.png

find_real_file.png

Thanks in advance

2 REPLIES 2

corina
ServiceNow Employee

Hello Sneha.



Do you have excel allowed here?


glide.attachment.extensions


https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/administer/form-administration/...


Nagasai
ServiceNow Employee

Hi Sneha,

 

Below KB might be helpful - 

 

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

 

 

Thanks,

Naga Sai