{"record":{"id":"4429ba4c3699a37c","repo":"gatsbyjs/gatsby","slug":"id-singlename-was-updated-but-no-data-was-r","errorCode":null,"errorMessage":"${id} ${singleName} was updated, but no data was returned for this node.","messagePattern":"(.+?) (.+?) was updated, but no data was returned for this node\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/wp-actions/update.js","lineNumber":83,"sourceCode":"      ? {\n          WPGatsbyPreview: token,\n          WPGatsbyPreviewUser: userDatabaseId,\n        }\n      : {}\n\n  const { data } = await fetchGraphql({\n    headers,\n    query,\n    variables: {\n      id,\n    },\n    errorContext: `Error occurred while updating a single \"${singleName}\" node.`,\n  })\n\n  let remoteNode = data[singleName] || data[camelCase(singleName)]\n\n  if (!data || !remoteNode) {\n    reporter.warn(\n      formatLogMessage(\n        `${id} ${singleName} was updated, but no data was returned for this node.`\n      )\n    )\n\n    reporter.info({\n      singleName,\n      id,\n      actionType,\n      cachedNodeIds,\n      token,\n      isPreview,\n      userDatabaseId,\n    })\n\n    return { node: null }\n  }\n","sourceCodeStart":65,"sourceCodeEnd":101,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/wp-actions/update.js#L65-L101","documentation":"Update-path warning in the preview/update flow: a single-node update (WPGatsby action) was received for the given id, but the GraphQL response contained no data for that singleName (data or the field was null/empty). The node therefore cannot be updated; the plugin logs this and continues with other updates.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/wp-actions/update.js:83 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check whether the content was deleted, unpublished or made private in WordPress right before the update webhook fired","Verify WPGraphQL returns the node for that id with the credentials configured in gatsby-source-wordpress","Test the single-item GraphQL query used by the plugin directly against your WPGraphQL endpoint","If it recurs, debounce/dedupe webhooks so delete and update events don't race"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}