In cases where we can, we should give the user a clear understanding of what is causing the error i.e., we should add specific error cases where possible and sensible.
Currently users receive a 500 Unexpected error when they send an edit that exceeds the item size limit
Acceptance criteria:
- The response status code should be 400
- Error message to be of the form
{ "code": "Entity-too-large", "message": "Entity size exceeds 20KB." }