Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next Form Page loading issue #12925

Open
chetanmore669 opened this issue Jan 29, 2025 · 1 comment
Open

Next Form Page loading issue #12925

chetanmore669 opened this issue Jan 29, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@chetanmore669
Copy link

Describe the problem/error/question

I am uploading .csv file via n8n form and extracting its data with extract from file node. Once extraction gets completed i am checking if .csv file rows should not exceed 10 rows. I am using IF command to check if {{ $("Extract from File").all().length }} Greater than 10 then navigate to n8n form to ask for resubmission of file again. if I try to upload .csv file continuously for 2 -3 times , n8n form gets stuck.

What is the error message (if any)?

No message. Stead of n8n form displaying normal fields that asks user to upload .csv file it says form submitted successfully.

Please share your workflow/screenshots/recording

Image

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
```{
  "nodes": [
    {
      "parameters": {
        "binaryPropertyName": "Import_File____csv___xlsx_",
        "options": {
          "headerRow": true,
          "includeEmptyCells": true
        }
      },
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1,
      "position": [
        -20,
        440
      ],
      "id": "2dcacb42-6c46-498e-bbfd-ef93a5cdf8fd",
      "name": "Extract from File",
      "executeOnce": false
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "dccd3f29-74df-48e0-a5e1-5c7dc2be9d1f",
              "leftValue": "={{ $(\"Extract from File\").all().length }}",
              "rightValue": 10,
              "operator": {
                "type": "number",
                "operation": "gt"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        160,
        440
      ],
      "id": "9449aed0-9257-4416-bd33-db3cb84d80f2",
      "name": "If",
      "executeOnce": false
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "Import File  (.csv, .xlsx)",
              "fieldType": "file",
              "multipleFiles": false,
              "acceptFileTypes": ".csv, .xlsx",
              "requiredField": true
            }
          ]
        },
        "options": {
          "formTitle": "Import Your Questions (Max 10 Questions)",
          "buttonLabel": "Import"
        }
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        -300,
        440
      ],
      "id": "125e88b0-a7d0-4df8-8c02-ac1e608b8e22",
      "name": "ImportFile1",
      "webhookId": "6473ce4d-a0a8-4926-8ad7-c697b886e4d9"
    },
    {
      "parameters": {
        "formFields": {
          "values": [
            {
              "fieldLabel": "Import File  (.csv, .xlsx)",
              "fieldType": "file",
              "multipleFiles": false,
              "acceptFileTypes": ".csv, .xlsx",
              "requiredField": true
            }
          ]
        },
        "options": {
          "formTitle": "Please Import Your Questions Again (Max 10 Questions)",
          "buttonLabel": "Import"
        }
      },
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        140,
        700
      ],
      "id": "d1af959f-f2a1-457b-93a7-1035f6e36f58",
      "name": "ImportFile",
      "webhookId": "6473ce4d-a0a8-4926-8ad7-c697b886e4d9",
      "executeOnce": false
    }
  ],
  "connections": {
    "Extract from File": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If": {
      "main": [
        [
          {
            "node": "ImportFile",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "ImportFile1": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImportFile": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "fb0330c12168d8986a25e32969e039658f672faf5d3467655ca2db5a9ecea7e5"
  }
}


## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->


## Debug info

### core

- n8nVersion: 1.75.2
- platform: npm
- nodeJsVersion: 20.18.1
- database: sqlite
- executionMode: regular
- concurrency: 20
- license: community

### storage

- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem

### pruning

- enabled: true
- maxAge: 720 hours
- maxCount: 25000 executions

### client

- userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/132.0.0.0 safari/537.36
- isTouchDevice: false

Generated at: 2025-01-29T15:10:03.772Z}
@Joffcom
Copy link
Member

Joffcom commented Jan 29, 2025

Hey @chetanmore669,

We have created an internal ticket to look into this which we will be tracking as "GHC-658"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants