Hi @himalay,
Thank you for sharing your question with the Klaviyo Community.
I noticed you came across another thread which addresses the CORS error which my colleague Paul addressed (linked below).
With respect to your question in that thread -- if using Google Cloud is applicable for SMS subscriptions specifically, Klaviyo does not have a formal SMS subscription pathway for Google Cloud so we cannot say for certain that this will work. All of Klaviyo’s methods to gather SMS subscriptions are outlined in Klaviyo’s Guide to Collecting SMS Consent. If you decide to test this subscription method using Google Cloud, you should keep in mind the general guidelines outlined in the post linked above, and be careful using the front-end so Google Cloud does not risk exposing your private API key for security purposes.
Thanks and have a wonderful day.