{"record":{"id":"97c32a3ab377bc9c","repo":"Budibase/budibase","slug":"search-is-temporarily-unavailable","errorCode":null,"errorMessage":"Search is temporarily unavailable","messagePattern":"Search is temporarily unavailable","errorType":"http","errorClass":"HTTPError","httpStatus":503,"severity":"error","filePath":"packages/server/src/sdk/workspace/rows/search/internal/sqs.ts","lineNumber":566,"sourceCode":"    const response: SearchResponse<Row> = {\n      rows: finalRows,\n    }\n    if (totalRows != null) {\n      response.totalRows = totalRows\n    }\n    // check for pagination\n    if (paginate && nextRow) {\n      response.hasNextPage = true\n      response.bookmark = bookmark + processed.length\n    }\n    if (paginate && !nextRow) {\n      response.hasNextPage = false\n    }\n    return response\n  } catch (err: any) {\n    const msg = typeof err === \"string\" ? err : err.message\n    if (msg?.includes(\"ECONNREFUSED\")) {\n      throw new HTTPError(\"Search is temporarily unavailable\", 503)\n    }\n    if (!opts?.retrying && resyncDefinitionsRequired(err.status, msg)) {\n      await locks.doWithLock(\n        {\n          type: LockType.AUTO_EXTEND,\n          name: LockName.SQS_SYNC_DEFINITIONS,\n          resource: context.getWorkspaceId(),\n        },\n        sdk.tables.sqs.syncDefinition\n      )\n      return search(options, source, { retrying: true })\n    }\n    // previously the internal table didn't error when a column didn't exist in search\n    if (err.status === 400 && msg?.match(MISSING_COLUMN_REGEX)) {\n      return { rows: [] }\n    }\n    throw new Error(`Unable to search by SQL - ${msg}`, { cause: err })\n  }","sourceCodeStart":548,"sourceCodeEnd":584,"githubUrl":"https://github.com/Budibase/budibase/blob/a81a902e9a8fe55b467d106765f6638f12e35c49/packages/server/src/sdk/workspace/rows/search/internal/sqs.ts#L548-L584","documentation":"Error \"Search is temporarily unavailable\" thrown in Budibase/budibase.","triggerScenarios":"Thrown at packages/server/src/sdk/workspace/rows/search/internal/sqs.ts:566 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a81a902e9a8fe55b467d106765f6638f12e35c49","analyzedAt":"2026-08-29T01:03:10.972Z","schemaVersion":2},"datasetVersion":"2026-08-29T02:17:18.158Z"}