Finally figured out why I went way over my Netlify cloud functions limit! (and had to pay $25 one-off) – It was a reeeealllly obscure and unlikely bug that was discovered in a very unlikely way
Ethan
Author
Nothing to do with Netlify. Basically there was a bug in my code which still called the function that refreshed the access token when there was no refresh token stored. So obviously my function failed. In my frontend code I made it automatically retry fetch requests that didn't work, so for a very small amount of people it went into an endless loop of calling my cloud functions (until the page was closed) :(
Please sign in to leave a comment.