402 Payment Required

Hi there, hope everyone’s having a great day.

When using our local development environment with Netlify CLI, we always get a 402 Payment Required on some of our Netlify functions, it’s not always the same functions though.

It doesn’t happen all the time but there is no logic pattern that it follows when throwing these errors. I’ve checked out the functions usage section to see if we are maxing out our plan but it says we have lots left. See below.

Counts every time a function was invoked in the current billing period.


124,907 requests left

Run time
Combined run time of all function requests in the current billing period.

55 seconds/100 hours

100 hours left

Hi :wave:t6: ,

Welcome to the forums, when you run your functions locally outside of the CLI does it work as expected?