hunk.code_window:                                 e.getMessage()
                           ));
                       }
                       // This is the object with the original values in the referred row
                       final JsonNode jsonNode = getValuesMethod
                               .transformResponse(jsonNodeBody, methodConfig)
                               .get(0);
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit:                     if (response.getStatusCode() != null && !response.getStatusCode().is2xxSuccessful()) {
                           if (jsonNodeBody.get("error") != null && jsonNodeBody.get("error").get("message") != null) {
                               throw Exceptions.propagate(new AppsmithPluginException(
                                       AppsmithPluginError.PLUGIN_ERROR,   jsonNodeBody.get("error").get("message").toString()));
                           }
                           throw Exceptions.propagate(new AppsmithPluginException(
                               AppsmithPluginError.PLUGIN_ERROR,
                               "Could not map request back to existing data"));
                       }
  
hunk.file_path: app/server/appsmith-plugins/googleSheetsPlugin/src/main/java/com/external/config/UpdateMethod.java
hunk.type: add
file: import { createReducer } from "utils/AppsmithUtils";
  import { ReduxAction, ReduxActionTypes } from "constants/ReduxActionConstants";
  import { FetchPageRequest } from "api/PageApi";
  
  export type FormEvaluationState = Record<string, any>;
  
  const initialState: FormEvaluationState = {};
  
  const formEvaluation = createReducer(initialState, {
    [ReduxActionTypes.SET_FORM_EVALUATION]: (
      state: FormEvaluationState,
      action: ReduxAction<Set<string>>,
    ): FormEvaluationState => action.payload,
    [ReduxActionTypes.FETCH_PAGE_INIT]: (
      state: FormEvaluationState,
      action: ReduxAction<FetchPageRequest>,
    ) => {
      // Init the state on first page load
      if (!!action.payload && action.payload.isFirstLoad) return initialState;
      // Do not touch state on subsequent page loads
      return state;
    },
  });
  
  export default formEvaluation;
  