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

facebook leads webook Error #11400

Closed
SamuelClickage opened this issue Oct 24, 2024 · 5 comments · Fixed by #11692
Closed

facebook leads webook Error #11400

SamuelClickage opened this issue Oct 24, 2024 · 5 comments · Fixed by #11692
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@SamuelClickage
Copy link

Bug Description

Cannot read properties of undefined (reading '0')

same lead 6 times with error
image
image

To Reproduce

1-Webhook get data

Expected behavior

Get data from facecbook leads

Operating System

Linux server

n8n Version

1.64.2

Node.js Version

1.64.2

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Oct 24, 2024

Hey @SamuelClickage,

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

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Oct 24, 2024
@Joffcom
Copy link
Member

Joffcom commented Oct 24, 2024

Hey @SamuelClickage

Can you share the full error output? There is a little copy icon next to the error details and that will give us the stack trace we can use to track down the issue

@SamuelClickage
Copy link
Author

SamuelClickage commented Oct 24, 2024

Here you are @Joffcom

1.64.2 (Self Hosted)

Stack trace

TypeError: Cannot read properties of undefined (reading '0') at /usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts:276:62 at Array.reduce () at /usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts:275:30 at processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) at Object.webhook (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts:243:18) at Workflow.runWebhook (/usr/lib/node_modules/n8n/node_modules/n8n-workflow/src/Workflow.ts:1264:6) at Object.executeWebhook (/usr/lib/node_modules/n8n/src/webhooks/webhook-helpers.ts:231:24)

image

@Joffcom
Copy link
Member

Joffcom commented Oct 25, 2024

Thanks @SamuelClickage

@Joffcom
Copy link
Member

Joffcom commented Nov 12, 2024

Hey @SamuelClickage,

I am just trying to reproduce this but I have not been able to, Are you using optional fields in the form?

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.

2 participants