The upload succeeds, then the first create in my seed script fails with "Schema not found for type". Running it again a few seconds later works.
Writing immediately after a schema upload
Common question, written up by the Supero team.
1 answer
Accepted answer
Accepted answer
A write made right after an upload can briefly be refused while the new schema becomes visible. The SDKs retry this for you; with raw HTTP, retry the first write two or three times with a second or two between tries. Take UUIDs from the upload response instead of looking them up straight away.
Linkrev 1
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer