Open mliradelc opened 5 years ago
I had this error (or was it another endpoint) as well and I believe entries in the DB caused this. The endpoint should have thrown a 500 and logged an exception, but if I recall correctly the handlers simply catch all exceptions and return a 400. This made debugging a little bit harder.
@mtneug can you elaborate on this a bit? Which entries in the DB do you mean and how do they cause this? And which handlers do you mean?
The video API endpoint in the opencast integration gives an error 400 instead of giving the data that is shown in the documentation.
https://github.com/opencast/annotation-tool/blob/develop/documentation/Rest-video.md