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 error while creating attachment from Jira side to SNOW on sc_req_item table.

Eman_2022
Tera Contributor

Error is: Error encountered while creating Attachment. Error creating Attachment II.png: Method failed: (/api/now/v1/attachment/file) with code: 400 with reason: Invalid file type: application/json;charset=UTF-8

 

Although I am getting response from Jira in responseBody on SNOW when I disable Save As Attachment in Rest Step.

5 REPLIES 5

Pradnyesh
Kilo Sage

Hello @Eman_2022 ,

I am also facing an same issue.
Have you received any solution regarding your issue ?

Thank You !

Hi @Eman_2022 @Pradnyesh ,

 

Ensure that you have accepted file format in sys_attacement system property. or can you please brief more on the issue...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Hi @Sohail Khilji ,

Can you please tell us which system property (system property name) we need to add that application/json file type ?

Thank You !

I think it's the glide.attachment.extensions