Attachemt is attach in incident but after download the file it shows look like don't support

adityaashok
Tera Contributor

Hello Community,

 

We faced one issue when the attachment is attach to the incident but after download the file it shows look like don't support or this file is corrupted. Text file is open Correctly but other file types is not open properly.

For more information I attached the screen shots.

 

image (3).pngimage (1).pngThanks

6 REPLIES 6

@adityaashok 

they can't post attachment using Table API.

They will have to use Attachment API to send the actual file.

Are you sure that's the only API they are consuming?

Also I won't recommend giving access to table API to 3rd party as it can expose lot of table data

Why not use scripted REST API and give that endpoint and then that scripted rest api will add the file?

check this link where I shared solution for something similar.

Sending attachments using custom scripted web service 

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

@adityaashok 

Hope you are doing good.

Did my reply answer your question?

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