Problem:
I had received a warning email from Google saying that the API was unrestricted and the key was potentially open to abuse. So, the sensible thing to do seemed to be to restrict it to the website URL. However, this seems to be causing the problem.