I have a question with my Google Maps API. I am using a simple geocoding script to pull a txt/xml file from my server and geocoding the addresses. I have a problem with the addresses coming back as a null value and breaking the script and my database because the coord_lat and coord_long are floats and cannot accept null values.
The error I am receiving is: Warning: file_get_contents(http://maps.google.com/maps/geo?key=AIzaSyBmT9F_ixjLlW8oDiYVqgHqt14a008kXwc&output=xml&q=131+rochestor+ave+039482) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /includes/sfupdate/func.php on line 294 {"status":"Failed","data":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'coord_lat' cannot be null"}
ErrorSyntaxError: Unexpected token
Is this a problem with my connection with Google Maps API? I see HTTP Request failed which leads me to believe that I am being rejected and the addresses are turning back a null value because of it. Advice would be appreciated, thank you.