ebi-ait / sars-cov2-data-upload

Apache License 2.0
0 stars 0 forks source link

Submissions error handling - ideas/requirements gathering #27

Open mcourtot opened 4 years ago

mcourtot commented 4 years ago

We don't yet support error handling in a consistent way. We need to think how we will handle those at a later stage. This tickets is to gather ideas and requirements around this rather than for immediate action.

@tburdett suggests the HCA way to handle them could be reused, and that Claire/Justin would be good contacts to gather more information about this.

tburdett commented 4 years ago

For an example of how this looks, see e.g. https://api.ingest.archive.data.humancellatlas.org/submissionEnvelopes/5da0b68671fe4a0008e2db30/submissionErrors

Here you can see the collection of errors that occurred during the handling of submission envelope ID: ff6745ae-1adf-4e36-8c9e-6444acca2ef9.

IIRC the schema for the error object itself is based upon the problem details spec https://tools.ietf.org/html/rfc7807