Improve API return data for landing_zone_create with missing project iRODS collections #2036
Closed
4 tasks done
Labels
app: landingzones
Issue in the landingzones app
breaking
Breaking change, to be implemented and documented with care
feature
Requested feature or enhancement
Milestone
Reported by @Nicolai-vKuegelgen. Currently the landingzones API returns
HTTP 400
if attempting to runlanding_zone_create
on a project for which iRODS collections have not been created.The request itself is not technically invalid in this case. Hence, instead of
400
we should return503
with a descriptive error message.This is in line with the changes I recently made in #1847 and should be trivial to implement, so this would fit nicely in v1.0.0.
This is technically a breaking change, so I'll have to be sure to document it as such.
Tasks
503
instead of400
The text was updated successfully, but these errors were encountered: