Closed LGmatrix13 closed 3 years ago
@LGmatrix13 hi, what is full rejRes
error message there?
oops, I made I mistake on my end! I didn't place it into the snippet above, but I was await
ing for the response of a fetch request I commented out:
const data = await response.json();
console.log(data);
Because I removed the fetch request, I suppose it looped requests until it failed. Hence, the number of points I placed in the opts
was irrelevant.
@LGmatrix13 hi, what is full
rejRes
error message there?
Thanks for the fast reply! I just had some leftover code that was looping and producing too many requests. BTW, the 429 status code I mentioned was implemented on my side, not in rejRes
. Sorry for any confusion!
Here is my route. It is built as a Nextjs API:
For every post request I make, a
429
is rendered. I even set points to 600000 and it would not work. Any suggestions? Thanks for creating such a great dependency!