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

Creating file attachment with REST API fails when following sample code

Received Response
edited Jun 8, 2022 12:02PM in General Technical Discussions 2 comments


When attempting to create an attachment with the new REST API, it fails:

I follow the doc (, doing a POST to with body from the doc example:
"fileName":"SampleFileAttachment.txt ",

The response is a 400 Error:
    "type": "",
    "title": "Problem creating resource",
    "status": 400,
    "detail": "Error attempting to create resource: File specified could not be found: /tmp/c2FtcGxlIGNvbnRlbnQgZm9yIGZpbGUgYXR0YWNobWVudA==",

Howdy, Stranger!

Log In

To view full details, sign in.


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