Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Users report 400 error and retry logic needed, fix shipped 30 mins ago

4 replies
Last updated: Jun 8, 2023
Have there been any issues / updates overnight or yesterday? All of a sudden I am getting a 400 bad error returned with the error message
object or function expected
. I run the same builds overnight every night and they all worked 24 hours ago. Now I get that 400 error on basically every request I make.
Jun 8, 2023, 8:26 AM
I've been experiencing the same, unfortunately I've found it to be a bit random with something like 1 in 20 requests failing with that response.I've temporarily added retry logic on each request that has allowed our builds to succeed but it's obviously not ideal.
Jun 8, 2023, 8:29 AM
Can you share more context about this?
Jun 8, 2023, 5:04 PM
We shipped a fix for this about 30 mins ago!
Jun 8, 2023, 6:29 PM
Thank you!
Jun 8, 2023, 7:16 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?