500 Internal Server Error is returned if superseded by schema is not found
Retrieving schema's by authority,
curl --location 'https://osdu-glab.msft-osdu-test.org/api/schema-service/v1/schema?latestVersion=true&authority=SchemaSanityTest'
--header 'Content-Type: application/json'
--header 'data-partition-id: opendes'
--header 'Authorization: Bearer token'
returns
{ "error": { "code": 500, "message": "Internal server error", "errors": [ { "domain": "global", "reason": "internalError", "message": "Internal server error" } ] } }
this is happening as here, if the superseded by schema is not found, a crash happens and its undetermined what's the actual reason of this 500.