just tried with your code on my server and my api key and it’s working fine.
A couple questions. Are you using a child theme?
On google’s site it says:
Maybe try a new API key?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users