If you plug directly into your upstream firewall/router can you access the internet? I suspect something else is causing the issue not the switches themselves.
Meraki gear is usually pretty good at finding a path to the internet.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.