The storage API returns a status code of 503
I upload files to storage through fetch, but sometimes the api status code of 503 will be returned to me (the occurrence rate is about 15%). I want to know whether this is my own reason or the server load limit of convex?
6 Replies
res: code: "Overloaded" message: "InternalServerError: Your request couldn't be completed. Try again later."
const postUrl = await getUrl()
const result = await fetch(postUrl, {
method: "POST",
headers: { "Content-Type": file.type },
body: file,
})
const res = await result.json()
console.log({ res })
Works fine in most casesHi @Francismiko - thank you for reporting. I took a look and it's an issue on our side, which we're working on. In the meantime, you can safely retry with a small backoff.
Is there an estimated repair time? Since my project has been deployed to the production environment, this will have a certain impact🏄♂️
Hey @Francismiko, we should get it sorted within the next 24 hours. Apologies for the bad experience.
Thank you for your efforts, if there are any problems, I will continue to feedback🐎
Hi! We've pushed a mitigation to this problem which should vastly reduce the frequency of such errors. Let us know if you're still seeing it. Once again, thank you for the report!