500 HTTP Error accessing snippets via API

Summary

When trying to access a snippet via the API an 500 HTTP-Error is thrown.

curl "https://gitlab.com/api/v4/snippets/ID" or curl "https://gitlab.com/api/v4/snippets/ID/raw"

Already tried this with multiple different snippets and tokens. All with the same result.

Until yesterday, everything worked as expected.

Steps to reproduce

curl "https://gitlab.com/api/v4/snippets/XXX/raw" \
     -H 'PRIVATE-TOKEN: glpat-XYZ'

Example Project

None in particular.

What is the current bug behaviour?

HTTP Response: "500 Internal Server Error."

{"message":"500 Internal Server Error"}%

What is the expected correct behaviour?

Getting information about the snippet or the contents of the snippet.