Starlord
Starlord2w ago

i dont understand why Date.now() is

i dont understand why Date.now() is causing error in one internal query but not in another
3 Replies
erquhart
erquhart2w ago
What’s the error
Starlord
StarlordOP2w ago
There is no error message. Error message is saying basically that function could not be executed in convex logs. And it's caused by date.now after removing it is working Looks like some bug. I moved date.now to parent mutation that is calling this internal query and it's working only this way But I don't get why it's working with other internal queries [Error: Your request couldn't be completed. Try again later.]
erquhart
erquhart2w ago
Hmm that's pretty interesting. I would comment stuff out in that internal query body until it works with the date.now(), even if that means nothing else is running except date.now(). Then uncomment things until you find a culprit, since you know date.now() does work in a similar different query.

Did you find this page helpful?