Thanks for reaching out. What type of Google Nest Device are you setting up? Are you using the Nest or the Google Home app?
If your phone´s camera can’t scan the code, try brighter lighting or skip scanning and type in your product’s entry key or serial number into the Nest app.
You can check this article on how to troubleshoot QR code scanning with your phone’s camera.
Hope this helps. Keep us posted.