Quickbase Tips

Quickbase XML API now returns real HTTP error codes. Check your old integrations

API & integrationsDecember 1, 2026
Short answerXML API calls used to return HTTP 200 even when they failed, with the error only in <errcode>. Quickbase has moved to returning HTTP error statuses based on the Quickbase error code. Legacy code that only reads errcode on a 200 can now break; handle non-200 responses, or send X_QUICKBASE_RETURN_HTTP_ERROR=false while you fix it.

The problem

An old integration built on the XML API (API_DoQuery, API_AddRecord, API_ImportFromCSV and so on) starts failing in strange ways: unhandled exceptions, retries that never stop, or errors swallowed by an HTTP client that throws on anything other than 200.

Why it happens

Historically, Quickbase’s XML APIs returned HTTP 200 even when a request failed. The real result was in the body, in <errcode> and <errtext>. An optional X_QUICKBASE_RETURN_HTTP_ERROR header let integrators opt into a 400 on errors.

Starting in February 2025, Quickbase began changing the XML APIs to return HTTP status codes based on the Quickbase error code by default, without needing the header. It rolled out in waves. Wave 1 covered error codes 5, 7, 9, 10, 12, 14, 19, 23, 27, 37, 60, 70, 73, 76, 100, 102, 110, 112 and 113, with later waves following.

Code written for the old behavior often:

  • Uses an HTTP library that throws on non-2xx, before your errcode parsing ever runs.
  • Retries every non-200 as if it were a network failure, hammering the API on permanent errors (bad query, missing field, no permission).
  • Logs “HTTP error” and drops the body, losing the actual errcode and errtext.

The fix

  1. Find every XML API caller. Search your code for API_ and QUICKBASE-ACTION, and check scripts, scheduled jobs, ODBC tools and old code pages.
  2. Read the body on errors too. Treat a non-2xx response as “parse the XML and read errcode”, not as an opaque failure:
const res = await fetch(url, { method: 'POST', headers, body: xml });
const text = await res.text();
const errcode = Number((text.match(/<errcode>(\d+)<\/errcode>/) || [])[1] ?? -1);
if (!res.ok || errcode !== 0) {
  const errtext = (text.match(/<errtext>([\s\S]*?)<\/errtext>/) || [])[1];
  throw new QuickbaseError(res.status, errcode, errtext); // decide retry vs. fail on errcode, not on status alone
}
  1. Only retry what’s retryable. Rate limits and temporary server errors, yes. Permission, syntax and missing-field errors, no.
  2. Buy time if you need it. Sending the header X_QUICKBASE_RETURN_HTTP_ERROR=false keeps the old always-200 behavior while you update the code. Treat it as a stopgap, not the fix.

How to prevent it

Move new work to the RESTful API, which uses standard HTTP status codes and JSON. For anything still on the XML API, keep one shared wrapper that handles errors in a single place, so the next platform change is one edit, not twenty.

Seeing more than one of these problems? Find where your Quickbase is on the journey, and what usually fixes it.

Bigger than a quick fix?

Integrations

Connect Quickbase to QuickBooks, Microsoft 365, Google Workspace, payment processors and any system with an API.

Single integration package · From $4,950

Have a Quickbase problem that needs solving?

Tell us what is slowing you down. A 30-minute call is free, and you will leave with a clear next step whether or not we work together.

Book a free call

Loading available times…