nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
993 stars 57 forks source link

error: KV PUT failed: 400 Invalid expiration_ttl of 0 #328

Closed oritwoen closed 1 month ago

oritwoen commented 1 month ago

Describe the bug

I don't know how to reproduce this. I have a lot of traffic on the website, several dozen thousand visits a day (still a dozen or so users online), and from time to time I see an error in the logs such as in the attached screenshot.

This appeared after the last update with ttl for cache and I have no idea why it occurs. For all endpoints that have caching, I have maxAge greater than 0.

Zrzut ekranu z 2024-10-17 19-54-45

atinux commented 1 month ago

Could you test with v0.7.34?

oritwoen commented 1 month ago

After updating to v0.7.34 I don't see this error anymore. I also feel like performance has improved 😅 Thanks!

atinux commented 1 month ago

Awesome 🙂