Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 in Project API keys #2027

Closed
vasyas opened this issue Dec 18, 2023 · 3 comments · Fixed by #2029
Closed

Error 500 in Project API keys #2027

vasyas opened this issue Dec 18, 2023 · 3 comments · Fixed by #2029

Comments

@vasyas
Copy link

vasyas commented Dec 18, 2023

image

@JanCizmar
Copy link
Contributor

Hello! Thanks for reporting. We are working on the fix. Sorry for the inconvenience.

@JanCizmar
Copy link
Contributor

JanCizmar commented Dec 18, 2023

OK, I've found the cause. The older keys could have empty scopes array, which in Hibernate 5 was interpretting as empty set, but Hibernate 6 apparently returns null.

@JanCizmar
Copy link
Contributor

Edit! OK, so actually the issue was that there were some older keys (last one from 20th December 2022), which included null scopes. To quick fix this on self hosted instances, run delete from api_key_scopes_enum where scopes_enum is null;

@JanCizmar JanCizmar linked a pull request Dec 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants