I know I saw this in here before but
I know I saw this in here before but cant seem to find any resolution to it... I'm currently getting errors saying my cursor is invalid and not sure how to fix 🤔
My code looks like so:
13 Replies
Seems like I am still getting errors sometimes but a lot less than when I originally posted the above.
Just had a request fail saying to following cursor is invalid if it helps (kv 7a23d30e52584ab3bb7e435dc46425b7):
@walshydev sorry for the ping but I assume I am doing nothing wrong and I still get these errors saying my cursor is invalid with the above code. Curious if you would be able to ping the right people for this 🙂
Its like ~5-10% of requests that fail currently
I'd probably ping @kian for this tbh
If it helps also anytime it fails its always the second page the (the first one that actually has a cursor) at least that I have seen
i'd assume cursors are just an opaque string - but if anyone had the tools to see what the error was it's you not me :^)
however it appears that I can't test much anyways since KV throws a 429 at me for a namespace with like 5 keys
Yeah I get 429s every once in a while in waves also dont really track that though. Easier to see the cursor failing since I run it on a cron and it throws an error I can see on my worker summary 🤷
even my list operations are getting 429s now actually normally its only the writes interesting
oh i thought this was R2 not KV
I got confused by the type
Lol yeah this is KV but im using to track r2s latency over time
do you not have AE?
expiration
on keys can cause oddities with pagination but that only affects you if checking keys
- checking list_complete
wouldn't be affectedNo I dont have AE yet 😦
I dont expire any keys currently also
Now >50% of requests are failing
I run the cron every minute (so if all failed each line would be at 60 in this graph). Its at 34/ hr at the current peak