Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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
ServiceNow Employee

Hi Sneha,

 

Below KB might be helpful - 

 

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

 

 

Thanks,

Naga Sai