Attachment not showing in target instance incident in REST Message

VarnikaaC
Tera Contributor

I have created a Rest message with Oauth authentication and configured business rule to create incident based on source incident in target instance. I have created a user with necessary roles in my target instance and with the user's username and password I generated access token in source instance and this token will be refreshed every day (scheduled job) and the refreshed value will be populated in a system property automatically.
The field values are creating as per expectations but addition to that I want that attachments to be captured in target instance. When I try to attach any document in source instance the values are getting captured in target but for attachment it is throwing error as Failed to upload attachment to the target instance. Response: {"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}
If I try to log the Oauth token it is showing as undefined.

0 REPLIES 0