Huebschen, Alan M wrote on 2020-04-17 14:26:24: > I've been attempting to update existing resource records through the API, the > records already exist and I'm trying to upload modified versions of the JSON > but I'm getting an error in response. > > 'error': 'The record you tried to update has been modified since you fetched > it.'
To update a record, you first need to fetch it to get its lock_version. The API will only allow updates to a resource with a lock_version greater than the one stored in the database, so you'll need to post your data including lock_version+1. Hope that helps, p _______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group