Message 1 of 3
PUT Request Returning 409 Error
Not applicable
05-30-2017
08:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to perform a PUT request to update a workspace item. I used the method call:
var request = new RestRequest("/api/rest/v1/workspaces/" + workspaceID + "/items/" + projectID, Method.PUT);and created an object to add to the request body:
Rootobject root = new Rootobject
{
metaFields = new Metafields
{
entry = new List<Entry>()
}
};Then set the entry fields with key value pairs, and the version number of the root object. I got back this 409 error:
{"httpStatusCode":409,"error":[{"message":"The data you are attempting to edit has since been modified by another user, for details see the Change Log. You may attempt to perform your modification again."}]}And can't find any documentation on what may be the problem. Any help would be appreciated!