{"record":{"id":"9ad2d3960a328a48","repo":"appsmithorg/appsmith","slug":"unable-to-fetch-newly-created-actions","errorCode":null,"errorMessage":"Unable to fetch newly created actions","messagePattern":"Unable to fetch newly created actions","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"app/client/src/sagas/OneClickBindingSaga.ts","lineNumber":216,"sourceCode":"      const createdActions: Action[] = yield all(\n        payloadList.map((payload) =>\n          call(createActionsForOneClickBindingSaga, omit(payload, \"type\")),\n        ),\n      );\n\n      if (createdActions.some((action) => !action)) {\n        throw new Error(\"Unable to create Actions\");\n      }\n\n      yield put(fetchActions({ applicationId }, []));\n\n      const fetchAction: ReduxAction<unknown> = yield take([\n        ReduxActionTypes.FETCH_ACTIONS_SUCCESS,\n        ReduxActionErrorTypes.FETCH_ACTIONS_ERROR,\n      ]);\n\n      if (fetchAction.type === ReduxActionErrorTypes.FETCH_ACTIONS_ERROR) {\n        throw new Error(\"Unable to fetch newly created actions\");\n      }\n\n      const actionsToRun = createdActions.filter(\n        (action) =>\n          action.name === queryNameMap[QUERY_TYPE.SELECT] ||\n          action.name === queryNameMap[QUERY_TYPE.TOTAL_RECORD],\n      );\n\n      //TODO(Balaji): Need to make changes to plugin saga to execute the actions in parallel\n      for (const actionToRun of actionsToRun) {\n        yield put(\n          runAction(\n            actionToRun.id,\n            undefined,\n            true,\n            undefined,\n            ActionExecutionContext.ONE_CLICK_BINDING,\n          ),","sourceCodeStart":198,"sourceCodeEnd":234,"githubUrl":"https://github.com/appsmithorg/appsmith/blob/8cd9021c24cdbea1c3c12c966073708e83db60c2/app/client/src/sagas/OneClickBindingSaga.ts#L198-L234","documentation":"Error thrown by the one-click-binding flow after the actions were created. The saga dispatches fetchActions and waits on either FETCH_ACTIONS_SUCCESS or FETCH_ACTIONS_ERROR; if the error variant wins, the just-created actions cannot be located in the refreshed store and the binding aborts.","triggerScenarios":"The create calls succeeded but the subsequent list refresh failed (network drop, 5xx on the list endpoint, throttling). Less commonly, the actions were created in a different application context and the fetch returns empty.","commonSituations":"Flaky network immediately after creation; backend list endpoint slower than the wait window; race with another tab that deleted the actions.","solutions":["Retry the one-click binding; the created actions usually persist and the refresh succeeds on retry.","If it reproduces, inspect the FETCH_ACTIONS network request status and the redux error payload.","Verify no second session deleted the just-created actions."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Retry the one-click binding after a transient fetch failure.","Avoid deleting freshly created actions from a second session.","Confirm the FETCH_ACTIONS endpoint is reachable (no proxy blocking)."],"tags":["one-click-binding","fetch-actions","network","race"],"backgroundTag":null,"analyzedSha":"8cd9021c24cdbea1c3c12c966073708e83db60c2","analyzedAt":"2026-08-12T22:14:19.293Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}