cern-sis / issues-inspire

0 stars 0 forks source link

Error in author update #564

Closed drjova closed 3 weeks ago

drjova commented 1 month ago

There is a bug updating an author:

https://workflows.inspire.dev.siscern.org/dags/author_update_dag/grid?execution_date=2024-08-30+10%3A34%3A36.271692%2B00%3A00&tab=logs&dag_run_id=7b0c135b-50f2-4cb1-b107-31e0abc50e80&task_id=create_ticket_on_author_update

[2024-08-30, 10:35:24 UTC] {base.py:84} INFO - Using connection ID 'backoffice_conn' for task execution.
[2024-08-30, 10:35:24 UTC] {base.py:59} INFO - Sending 'POST' to url: https://backoffice.dev.inspirebeta.net/api/workflow-ticket/
[2024-08-30, 10:35:24 UTC] {http.py:200} ERROR - HTTP error: Bad Request
[2024-08-30, 10:35:24 UTC] {http.py:201} ERROR - {"ticket_type":["\"author_update_curation\" is not a valid choice."]}
DonHaul commented 3 weeks ago

Another issue was found https://github.com/inspirehep/backoffice/pull/105 workflow_id -> workflow

DonHaul commented 3 weeks ago

https://workflows.inspire.dev.siscern.org/dags/author_update_dag/grid?dag_run_id=7b0c135b-50f2-4cb1-b107-31e0abc50e80&tab=logs&task_id=create_ticket_on_author_update