Skip to content
Back

503 Timeout when Updating or Upserting Document

  • 0
  • Databases
  • Flutter
  • Cloud
shimmy
17 Sep, 2025, 05:12

Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error:

TypeScript
AppwriteException (AppwriteException: , 
<?xml version="1.0" encoding="utf-8"?>
<title>503 first byte timeout</title>
<h1>Error 503 first byte timeout</h1>
<p>first byte timeout</p>
<h3>Error 54113</h3>
<p>Details: cache-fra-etou8220144-FRA ...</p>
<p>Varnish cache server</p>

It only happens when I try to update or upsert a row, while regular fetch/read requests work fine. I’ve tested with both Appwrite Flutter SDK v18.0.0 and v19.0.0, and the same issue occurs.

Has anyone seen this before or know what might be causing it?

TL;DR
Issue: 503 Timeout error when updating or upserting a document in Appwrite. Regular fetch/read requests work fine. Solution: This error may be due to a timeout, possibly caused by backend server or cache issues. Check server logs for more details.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more