I am using the REST API to upload my reports. I have uploaded all of the resource files in one directory and the report units in another. I am able to upload everything the first time with no problems, and from there I can upload the files numerous times and they work with no problems, but randomly I keep getting this error message: <errorCode>generic.error.message</errorCode><message>No row with the given identifier exists: [com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoInputControl#0]; nested exception is org.hibernate.UnresolvableObjectException: No row with the given identifier exists: [com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoInputControl#0] And once it shows up it will always show up whenever I try to upload the report units after that. The strange thing about it is that the file that causes the failure is different every time I run my upload script. Even the file that caused the failure in the previous run will upload on the next run, so it seems completely random. I should also mention, every input control in the report unit uses a local resource but everything else (data files, images, etc...) use a references. Also, if I use the REST API to delete the directory first and then upload (without trying to do an update of the file) it will work every time. I would prefer to not have to delete all my files everytime I use the REST API though because that's kind of ridiculous. Any ideas on how to fix this?