You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to handle AUTHOR_DIFFERS error when linking Task Attachments to SR/WO via REST API in VBS?

Summary:

We are building a custom UI flow in Visual Builder where a user can select an existing Project Task attachment and link it directly to a Service Request (SR) or Customer Work Order as an attachment.

Issue Encountered:When testing attachment creation via the REST API endpoints:

  • POST /fscmRestApi/resources/11.13.18.05/serviceRequests/{SrId}/child/Attachment
  • POST /site_cx_extension:cnc-cx-wo-custom/create_customerWorkOrders-Attachment

If the logged-in user attempting to attach the document is not the original author who uploaded the file to the Task, the REST request fails with a 400 Bad Request

This occurs when passing the existing DmDocumentId and DmVersionNumber

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!