We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into this because I accidentally sent epoch milliseconds as expiration in KV. This also happens for expirationTtl.
expiration
expirationTtl
kvNamespace.put(“key”, “value”, { expiration: 1675058732043 })
In the Workers environment, this throws a TypeError:
TypeError
TypeError: Value out of range. Must be between -2147483648 and 2147483647 (inclusive).
The put succeeds
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Ran into this because I accidentally sent epoch milliseconds as
expiration
in KV. This also happens forexpirationTtl
.Reproduction
Expected behaviour
In the Workers environment, this throws a
TypeError
:Actual behaviour
The put succeeds
The text was updated successfully, but these errors were encountered: