Critical Bug in n8n Cloud Trial (v1.107.4) - HTTP Request & Code Node Failing

Hello, I am on a 14-day n8n Cloud trial (v1.107.4) and have encountered a critical bug that prevents me from making a POST request to the Fatture in Cloud API (v2).

This is not a simple configuration issue. We have tried every possible method and each one fails with a different contradictory or system-level error.

1. Using the HTTP Request Node: The API requires OAuth2 and provides a Client ID but no Client Secret for private apps. The generic OAuth2 API credential in my n8n instance has a mandatory Client Secret field. We then get contradictory 422 validation errors from the API (data must be an object and The data field is required) no matter how we format the JSON body (Name/Value Pair, Expression, etc.). The node’s own validator also incorrectly flags valid JSON strings as “not supported”.

2. Using the Code Node as a Workaround: To bypass the buggy HTTP Request node, we tried using the Code node. This also failed with a system-level error:

**`TypeError: this.getCredentials is not a function`**

3. Using the Corrected Code Node Helper: After correcting the code to use the modern helper for my n8n version, it failed again with this error:

**`Error: The function "helpers.httpRequestWithAuthentication" is not supported in the Code Node`**

This final error proves that my n8n Cloud instance is malfunctioning, as it reports that a standard, fundamental helper function is not supported. I cannot proceed with my project. Can you please investigate the state of my trial instance?

Thank you.

But how is the flow supposed to authenticate without a secret ? Since the flow is supposed to run without human input, you should use an authentication flow that does not require human input during authentication. This is usually done with a secret or certificate.

Looking at the Fatture in cloud API documentation, this is also mentioned in their authentication guide. The solution as per them is to obtain a Refresh Token using Postman once and then use this as the secret in your flow.

Ok, I try again, thank you for your reply

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.