Function seems to work intermittently

My function worked without issues using netlify dev from the cli, however after pushing it to live I am having issues. It has worked a couple of times but it isn’t consistent. I also noticed that a couple of times it worked but took a few minutes to actually go through. Other times the log shows a timestamp but doesn’t seem to execute the function.

Hey there, @a.cole :wave:

Welcome to the Netlify Forums :netliconfetti: Thanks for reaching out!

Sorry you are having troubles with this. Can you send us your Netlify site name?


So I got it fixed. I had a return to early in my function. That said, it is was still weird behavior to have the function work in the Netlify dev and work intermittently live.

1 Like

Thanks for letting us know what fixed this, @a.cole! We will keep our eyes out for any similar reports.