intesys / openhospital-api

OpenHospital API
GNU General Public License v3.0
2 stars 4 forks source link

PUT /patients/{code} error 400 #8

Open alefalezza opened 2 years ago

alefalezza commented 2 years ago

Sometimes when we pass the profile picture throught the API we get an error on blob. Error reported:

"status":"INTERNAL_SERVER_ERROR", "message":"angal.sql.theselecteditemisstillusedsomewhere", "debugMessage":"angal.sql.theselecteditemisstillusedsomewhere",
kledis-pashaj-comdata commented 2 years ago

This was not replicated. That error message is linked with DataIntegrityViolationException and SQLIntegrityConstraintViolationException.I suspected that a file size limit was violated. I checked the tables but didn't find any constraint that may be violated.