Editorial question40.1K views3,827 votes0 answers1,892 following
AI-generatedInconsistent HTTP 414 behavior for Apollo Server 4.x automatic persisted queries
Automatic persisted queries in Apollo Client send a SHA-256 hash via GET and fall back to POST when the server does not recognize the hash. Because the HTTP specification does not define a maximum URL length, Apollo Server 4.x does not proactively reject long GET request URIs. Instead, an error surfaces only when the underlying Node.js or Express layer throw