sul-dlss / libsys-airflow

Airflow DAGS for migrating and managing ILS data into FOLIO along with other LibSys workflows
Apache License 2.0
5 stars 0 forks source link

Need to handle when SRS and instance record are not linked #879

Closed shelleydoljack closed 4 months ago

shelleydoljack commented 6 months ago

https://github.com/sul-dlss/libsys-airflow/blob/f864b18a31e3406256511fa6def5000998262f48/libsys_airflow/plugins/data_exports/marc/exports.py#L70-L87

This endpoint returns 404 if the SRS is not linked to the instance record. We need to handle this error case, especially when we are doing a full dump of data.

shelleydoljack commented 6 months ago

Example response body:

Error retrieving Record by externalId: 'e869f294-dfc3-480f-84f0-4e47c2fe5eab', response code 404, Not Found
jgreben commented 6 months ago

Fixed by #880