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

Using '-1' as a version does not return the latest version #668

Closed
mattieserver opened this issue Jun 30, 2023 · 2 comments
Closed

Using '-1' as a version does not return the latest version #668

mattieserver opened this issue Jun 30, 2023 · 2 comments

Comments

@mattieserver
Copy link

What happened?

We trying to get the latest version of a schema with '-1' as version you get the following error:

URL: /subjects/XXXXXX/versions/-1
{"error_code":42202,"message":"The specified version '-1' is not a valid version id. Allowed values are between [1, 2^31-1] and the string \"latest\""}

What did you expect to happen?

'-1' should work the same as using 'latest' as the version.

What else do we need to know?

Docker image version: 3.6.1

@mattieserver
Copy link
Author

@nosahama
Copy link
Contributor

nosahama commented Jun 6, 2024

Fixed in #885, to be released with 3.14.0.

@nosahama nosahama closed this as completed Jun 6, 2024
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

No branches or pull requests

2 participants