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

Custom Function Sample fails #22

Open
sarasensible opened this issue Mar 3, 2024 · 1 comment
Open

Custom Function Sample fails #22

sarasensible opened this issue Mar 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sarasensible
Copy link

Using slack create as indicated in the tutorial, this function fails out of the box with:

2024-03-03 12:59:22 [error] [Fn06NBFUQXFA] (Trace=Tr06MG3ASL2J) Function 'Sample function' (app function) failed
	event_dispatch_failed
2024-03-03 12:59:22 [error] [Wf06MN96G71R] (Trace=Tr06MG3ASL2J) Workflow step 'Sample function' failed

Would really love to use this feature, please fix!

@zimeg zimeg added the bug Something isn't working label Mar 4, 2024
@zimeg
Copy link
Member

zimeg commented Mar 4, 2024

Hey @sarasensible! 👋 We've seen the event_dispatch_failed error appear often when a function takes more than 3 seconds to complete in local runs - tracking this in slackapi/deno-slack-sdk#179 with hopes to address the cause soon. Is this error happening consistently for you or just sometimes? It's a bit difficult for me to get this same error.

As a note for myself: I'm a bit surprised to see this happening with just a custom function that ends in a pending state. I thought this was from a late call to functions.completeSuccess 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants