Spotify API 504 Gateway timeout
When I increase the limit of my spotify API search call it works fine on local host but I get an Edge Status: 504 in vercel. Any idea why this might be happening or how I should work around it?
![](https://utfs.io/f/bf6edc81-848c-4aec-8663-510a587eb05e-p6x70s.22.08_PM.png)
2 Replies
After doing a little bit of research, I am guessing that this is the limit that vercel has on executing serverless functions which in my case would be 10 seconds, but my api call could take around 2 minutes to get all of the data. Is there a way to work around this?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View