Open jvendetti opened 10 months ago
Hi, I think this is an issue in the API, This line https://github.com/ncbo/ontologies_api/blob/master/controllers/mappings_controller.rb#L110
The id does not start with http://
, so it calls the function ontology_uri_from_acronym
which does not work in this case because the input is not an acronym but a URI id.
I think this PR https://github.com/ncbo/ontologies_api/pull/102 addresses this issue, but it includes a lot of changes not related to this.
Hope it helps, bye
Thanks @syphax-bouazzouni for the additional debugging
Steps to reproduce:
Dialog displays an error message:
REST logs
Show an HTTP 400 response:
vendetti [11/Sep/2023:22:46:26 +0000] "POST /mappings HTTP/1.1" 400 101 0.3748
Rails console
Shows the following error in a local dev environment: