Jira to servicenow integration throws error: "Error encountered while creating attachment."

abhishku1
Tera Contributor

While sending an attachment from jira issue record to servicenow using flow designer, it throws an error  "message": "Error encountered while creating Attachment. Record for file "filename" is not of required class." when i use jira spoke action : 'Copy Issue attachment to Record'  in the subflow and action contains fields: attachment URL, Target Record and Attachment file name. jira action is working fine when tested it indivivually not working working when using in the subflow: Process jira webhook.

 

Thanks,

Abhishek

1 REPLY 1

Pat Espin
Mega Guru

This is a shot in the dark solely based on the error message. 

What type of attachment is it?  Perhaps it is a type of document that ServiceNow doesn't recognize?

Also - make sure there are no special characters in the file name.

 

As I said, I could be totally off; we haven't set up our jira integration yet.