sul-dlss / FOLIO-Project-Stanford

Task management for Stanford’s analysis of FOLIO.
2 stars 0 forks source link

OCLC Export QA - New record gets API error #644

Closed ahafele closed 3 months ago

ahafele commented 3 months ago

ERROR - 400 Client Error: Bad Request for url: https://metadata.api.oclc.org/worldcat/manage/bibs

See here - https://sul-libsys-airflow-dev.stanford.edu/dags/send_oclc_records/grid?run_id=manual__2024-06-12T13%3A49%3A25.233833%2B00%3A00&execution_date=2024-06-12+13%3A49%3A25.233833%2B00%3A00&tab=logs&dag_run_id=manual__2024-06-12T13%3A49%3A25.233833%2B00%3A00&task_id=transmit_data_oclc_api_task

Are the errors listed the reason(s) for the 400 error? Is this response coming from the OCLC metadata API or from the validation step?

ahafele commented 3 months ago

I'm not having any luck with the new record flow. The DAGs are successful but log shows errors (see above). We'll need to be able to link the errors back to records (uuid or hrid) for troubleshooting by staff. Another example here: https://sul-libsys-airflow-dev.stanford.edu/dags/send_oclc_records/grid?run_id=manual__2024-06-12T18%3A17%3A18.555497%2B00%3A00&execution_date=2024-06-12+18%3A17%3A18.555497%2B00%3A00&tab=logs&dag_run_id=manual__2024-06-12T18%3A17%3A18.555497%2B00%3A00&task_id=transmit_data_oclc_api_task

ahafele commented 3 months ago

Still working on trying to get a record to validate but will close this ticket and create new if needed.