I had the same error in the console. To fix it I had to include the API key in the script tag as well as the HTML markup. Before I only had it in the HTML which would work fine on the page but show the NoAPIKeys error in the console.
‘<script src=”https://maps.googleapis.com/maps/api/js?key=IncludeKeyHere”></script>’