Uploading with CMIS results in HTTP 409 Conflict

cancel
Showing results for 
Search instead for 
Did you mean: 
JayQueue
Customer

Uploading with CMIS results in HTTP 409 Conflict

Hello,

I'm creating a Talend job where I upload PDF documents. This is going fine but.

I uploaded and removed 40ish testfiles. But now all of a sudden I get Method failed: HTTP/1.1 409 Conflict and there are no files to be seen. I looked in the browser, with Postman and with CMIS workbench. 

How do I fix this? Where are my files?

Alfresco 5.0.3 with the CMIS protocol

 

TIA

Jonathan

4 Replies
angelborroy
Alfresco Employee

Re: Uploading with CMIS results in HTTP 409 Conflict

May you include additional details?

Alfresco complete stacktrace would be helpful.

In addition, where are you creating those files? Are you using Sites or some other place in the Repository?

Hyland Developer Evangelist
JayQueue
Customer

Re: Uploading with CMIS results in HTTP 409 Conflict

Hi @angelborroy 

It's fixed. There was a duplicate var with the post but on another custom field. Strange to say it has a conflict

Thanks for replying!

Ullrichburgh
Member II

Re: Uploading with CMIS results in HTTP 409 Conflict

I've googled, and it seems the most common reason is trying to affect/update a file that does not exist (like setting the request URL to a path without a file name). However, that is not the case. In case the conflict had something to do with the file already existing, I added code to physically delete the file before uploading it, and i'm still getting some 409's.

Norman48
Member II

Re: Uploading with CMIS results in HTTP 409 Conflict

Hello,

I found 2 things worth mentioning while uploading files using webdav and http web request. First, for the provider I was using, I had to append the filename at the end of the provider url. Ihad to append the port number in the url. And I also set the Request method to PUT instead of POST.