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

New error with former working workflows: Problem in node ‘1‘ invalid type format #7149

Closed
golere opened this issue Sep 11, 2023 · 2 comments · Fixed by #7217
Closed

New error with former working workflows: Problem in node ‘1‘ invalid type format #7149

golere opened this issue Sep 11, 2023 · 2 comments · Fixed by #7217
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@golere
Copy link

golere commented Sep 11, 2023

Describe the bug
Workflows that worked fine before, can't be executed any more and are giving an error. Workflows tested on 0.221.2 and work fine.

To Reproduce
Steps to reproduce the behavior:
Create a http node with the code below
run it

ERROR: invalid type format

cause:
{"status":"rejected","reason":{}}

Stack:
NodeApiError: invalid type format
at Object.execute (/app/code/node_modules/n8n/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:1437:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Workflow.runNode (/app/code/node_modules/n8n-workflow/src/Workflow.ts:1284:8)
at /app/code/node_modules/n8n-core/src/WorkflowExecute.ts:1018:29

Expected behavior
Worked fine until the last time I checked it.

Environment (please complete the following information):

  • verion 1.6.1
  • cloudron

Additional context

{
  "meta": {
    "instanceId": ""
  },
  "nodes": [
    {
      "parameters": {
        "url": "=https://api.carbone.io/render/{{ $json.data.renderId }}",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "carbone-version",
              "value": "4"
            }
          ]
        },
        "options": {
          "redirect": {
            "redirect": {
              "followRedirects": true
            }
          },
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "id": "",
      "name": "download report1",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        1620,
        2600
      ]
    }
  ],
  "connections": {}
}
´´´
@Joffcom
Copy link
Member

Joffcom commented Sep 11, 2023

Hey @golere,

Can you share a full workflow and the output data of the node before the http request? Looking at what you have shared so far there doesn't appear to be any issues that I can see so it could be that there are multiple items or the renderId is not being correctly converted to a string.

Did you also run through the migration guide?

@that-one-tom
Copy link
Contributor

that-one-tom commented Sep 20, 2023

Documented steps to reproduce at NODE-790, starts happening with [email protected].

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Sep 20, 2023
netroy pushed a commit that referenced this issue Sep 20, 2023
krynble added a commit that referenced this issue Sep 20, 2023
# [1.8.0](https://github.com/n8n-io/n8n/compare/[email protected]@1.8.0)
(2023-09-20)


### Bug Fixes

* **core:** Make parsing of content-type and content-disposition headers
more flexible ([#7217](#7217))
([d41546b](d41546b)),
closes [#7149](#7149)
* **core:** Resolve domains to IPv4 first
([#7206](#7206))
([e9ce531](e9ce531))
* **editor:** Add ssh key type selection to source control settings when
regenerating key ([#7172](#7172))
([54bf66d](54bf66d))
* **editor:** No need to add click emitting click events, VUE delegates
the handler to the root element of the component
([#7182](#7182))
([3c055e4](3c055e4))
* **editor:** Prevent duplicate creation of credential for OAuth2
([#7163](#7163))
([07a6417](07a6417))
* **editor:** Testing flaky resource mapper feature in e2e tests
([#7165](#7165))
([aaf87c3](aaf87c3))
* **HTML Node:** Add pairedItem support for 'Convert to HTML Table'
operation ([#7196](#7196))
([6bc477b](6bc477b))
* **HTTP Request Node:** Decrease default timeout to 5min
([#7177](#7177))
([321780d](321780d))
* **seven Node:** Rename sms77 to seven, fix credentials test
([#7180](#7180))
([cf776b8](cf776b8))
* **X (Formerly Twitter) Node:** Rename Twitter to X (keep Twitter
alias) ([#7179](#7179))
([d317e09](d317e09))


### Features

* **core:** Add command to trigger license refresh on workers
([#7184](#7184))
([9f797b9](9f797b9))
* **core:** Add rsa option to ssh key generation
([#7154](#7154))
([fdac2c8](fdac2c8))
* **Linear Node:** Add support for OAuth2
([#7201](#7201))
([12a3168](12a3168))
* **Microsoft Outlook Node:** Node overhaul
([#4449](#4449))
([556a613](556a613))
* **Set Node:** Overhaul
([#6348](#6348))
([3a47455](3a47455))

Co-authored-by: krynble <[email protected]>
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

Successfully merging a pull request may close this issue.

3 participants