Google Maps API as code embed rejected

Hey, Google Maps is rejecting my API connection for CMS Map. I am pasting a screenshot of what is says.

It works on just Map embed element but not with code that I found here: Is it possible to include google maps using dynamic CMS
that seems to be working for other people. Anyone had this problem?

The method used in the thread you shared is from 2016. More likely than not, Google’s API has changed and they require a different way to intereact with maps.

Can you please share a read-only for your project?

Hey Jean! Thanks for the reply. You were kinda right I think, I have found the latest Google documentation and implemented it, so with trial and error I have successfully implemented CMS map. Thanks a lot!