If you look at google's description for this problem, it says - " It indicates that the query was invalid. E.g., parent ID was missing or the combination of dimensions or metrics requested was not valid." The fix for this error is : You need to make changes to the API query in order for it to work. It means your developer key has either expired or reached the max limits.
Go to
https://developers.google.com/maps/documentation/javascript/get-api-key and generate a new key and use the new key. It will fix the problem.