Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The API is currently responding with a very generic message when packages fail to be distributed.
{ "message": "an unexpected error has occurred" }
This should be improved since there are some errors that are due to bad usage, eg: packages that are too big, and we should to provide more context to the client:
{ "message": "an unexpected error has occurred", "details": "Failed to create content package for requestType=ADD, paths=[/content]. Error=Can't distribute package with size greater than 1 Byte, actual 4053" }