You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API server throws 500 error instead of 401 when API calls are made with incorrectly set Authorization headers. System errors out when it doesn't find the expected token string in the header
E, [2023-12-11T16:34:19.453357 #23461] ERROR -- : app error: undefined method `gsub' for nil:NilClass (NoMethodError)
E, [2023-12-11T16:34:19.453496 #23461] ERROR -- : /srv/ontoportal/ontologies_api/shared/bundle/ruby/2.7.0/bundler/gems/ontologies_linked_data-9487c7f73e68/lib/ontologies_linked_data/security/authorization.rb:83:in `find_apikey'
E, [2023-12-11T16:34:19.453556 #23461] ERROR -- : /srv/ontoportal/ontologies_api/shared/bundle/ruby/2.7.0/bundler/gems/ontologies_linked_data-9487c7f73e68/lib/ontologies_linked_data/security/authorization.rb:22:in `call'
E
The text was updated successfully, but these errors were encountered:
API server throws 500 error instead of 401 when API calls are made with incorrectly set Authorization headers. System errors out when it doesn't find the expected
token
string in the headerThe text was updated successfully, but these errors were encountered: