Next.js Discord

Discord Forum

typeerror: failed to execute 'fetch' on 'window': …with a request object that has already been used

Answered
White-crowned Sparrow posted this in #help-forum
Open in Discord
White-crowned SparrowOP
I started getting this for any POST calls using react toolkit on Vercel a few hours ago. Nothing changed and this is happening. DELETE and GET calls are working fine.

Is anyone encountering this issue?
Answered by White-crowned Sparrow
This ended up being PostHog pushing a change in their JavaScript API which broke everything. I got rid of PostHog and it all went back to normal.
View full answer

2 Replies

White-crowned SparrowOP
This only happens on Vercel. If you have react toolkit you can easily reproduce this.
White-crowned SparrowOP
This ended up being PostHog pushing a change in their JavaScript API which broke everything. I got rid of PostHog and it all went back to normal.
Answer