Create Attachements dosn't work


It seems to be something wrong with the Create attachment api.
The api respond with the following error message;

404 Not Found: “{ “message”: “This document does not exist, has not been created or has all the attachments it should (advandced.numberOfAttachments)”}”

I know that the document exists, but I dont know what the “advanced.NumberOfAttachments” means. It is not required to fill in number of attachments through the api.

Hi Truls,

The number of attachments is set when the document is created. If this is set to 1 for instance, then only one attachment can be uploaded to the document. Trying to upload more than one attachment will lead to the error message you describe. The number of attatchments is set in advanced -> attachments