Hello,
I’m getting the message “server crash” when I deploy my project on Vercel. I believe the free API key I obtained from Infura is not able to fetch more complex information from a smart contract to retrieve outgoing token transfers going to different wallets in order to calculate the circulating supply. My code is correct because it works well on localhost. With my free API key of infura in my code, I can get the “total supply,” which is easier to retrieve, but not the circulating supply.
Do you think I need to buy an API key ?
Thank you so much for your help!
1 Like
Hey @Trumpee you mentioned that your code works well on localhost, so you are able to run it without any issues at all?
The “server crash” error suggests there might be issues beyond just the API limitations. Carefully reviewing your entire deployment setup and error handling mechanisms could reveal additional factors contributing to the problem.
Hi @MetaMouse,
Thank you for your feedback.
Yes, it works well on localhost without any issues at all… And I have another project that works correctly with Vercel to retrieve the “total supply” information from a smart contract on Basescan. There are more environment variables needed to obtain the “circulating supply”, but I’m sure I have configured them correctly in Vercel… 
Hey @Trumpee, receiving a “server crash” error on Vercel and not locally suggests that there might either be something going wrong with your deployment or on Vercel’s end. Unfortunately, we’d need more information in order to better assist you here. Fortunately, Vercel records logs for deployments, so you can provide those to us and we can troubleshoot.
2 Likes