Closed bdeadman closed 3 months ago
Tested the above in Chrome, Edge and Firefox.
@miori-nd can you have a look at this please? Hopefully it is a simple fix, but I'd like to get it fixed.
@miori-nd can you have a look at this please? Hopefully it is a simple fix, but I'd like to get it fixed.
Sure thing
It looks like the Vue frontend is sending a reaction_id to POST https://open-reaction-database.org/api/reactions but it is returning a 422 because it expects a "body" and "reaction_ids". If this recently stopped working, it's probably due to some recent change in the backend API
@miori-nd can you have a look at this please? Hopefully it is a simple fix, but I'd like to get it fixed.
Sure thing
It looks like the Vue frontend is sending a reaction_id to POST https://open-reaction-database.org/api/reactions but it is returning a 422 because it expects a "body" and "reaction_ids". If this recently stopped working, it's probably due to some recent change in the backend API
I suspect it only recently stopped working. I can't say I actively tested it recently though.
I'll take a look today; the API should be expecting reaction_id
and not reaction_ids
after the move to the new backend.
Deployed; can you please verify? @i404788
@skearnes It seems to works now :+1:
When you have a list of reactions in ORD, you can normally click on "View Full Details" to go to the reaction record. This has recently stopped working.
For example, from the ord_dataset-00005539a1e04c809a9a78647bea649c list and then click on "View Full Details" for the top record it takes me to https://open-reaction-database.org/id/ord-00b95f6f20354bb6923efd18c2b3c116 but it does not load.