I am using Google Map Api for getting location based on ZIP codes. 
Its in angularJs.
Its working perfectly when I open the website with .com domain. 
But when I open it with .ch or .de domain its showing 
Oops! Some error occured
My implementaion is like this
<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"
  type="text/javascript"></script>
This error I m getting in my console : http://prntscr.com/dronsl