What does a function not found error mean?

This topic was automatically generated from Slack. You can find the original thread here.

Raymond Camden : What does a function not found error mean?

Dylan Sather (Pipedream) : Did you get this from an error email? Can you forward to dylan@pipedream.com and share the workflow with me as well, if you don’t mind?

Can you also make a trivial change to your workflow and re-deploy it to see if that fixes the issue?

Raymond Camden : Sent - on mobile so I can’t redeploy this minute

Raymond Camden : BTW not urgent

Dylan Sather (Pipedream) : whenever you get a chance, can you see if redeploying this fixes it? If not I can look into it more deeply

Raymond Camden : Done. Looking at the history, I got 11 of these, over a nearly 24 hour period or so - seems fine now - but any ideas what happened?

Dylan Sather (Pipedream) : The error indicates that we either failed to fully-deploy the function that runs your workflow in AWS, or we deployed it but failed to link it to the most recent version of your workflow. So when we tried to invoke the workflow on incoming events, the function wasn’t found. This shouldn’t ever happen so if you notice it again, please let me know.

Raymond Camden : kk - thank you

Raymond Camden : FYI, happening again

Raymond Camden : looks like it happened 3 times last night - its working fine now.

Raymond Camden : and again today - deploying again

Raymond Camden : what i dont get it - it gets this error, then has multiple successful invocations

Raymond Camden : so do i need to deploy again?

Dylan Sather (Pipedream) : No this might be a bug, looking into it and I’ll get back to you ASAP

Dylan Sather (Pipedream) : when we switched the HTTP endpoint to placeplace, that means that HTTP requests must arrive at that HTTP endpoint now. The requests that failed with a Function not found error hit the original HTTP endpoint (for example, see the value of event.url here). Technically the old endpoint may have worked for a short time, but it would have been associated with an older version of your workflow. We delete older versions of workflows soon after the new version is deployed, and throw the “function not found” error.

Do you know what client might be hitting the old endoint?

Raymond Camden : i shared the original url on facebook - and then later shared the new url, but if friends are viewing the post it would account for the hits

Raymond Camden : so i guess safe to ignore :slightly_smiling_face: its not harming yall, right?

Dylan Sather (Pipedream) : not harming us at all! Sorry for the spam on your end

Dylan Sather (Pipedream) : If it becomes an annoyance we can technically copy the workflow, then update the placeplace endpoint to point to the copy. Then you can disable the original workflow, and you should no longer receive errors there. Let me know if you want to do that and I’m happy to

Raymond Camden : it should be fine - thank you for digging!