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 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.

3 REPLIES 3

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 !