Body: <p>I can't get geocoding to work on a fresh install. Manually entering the lat,long works.</p>
  <p>I've followed the instructions and steps one by one.</p>
  <p>I configured all settings I found referenced on the instructions:</p>
  <ul>
  <li>Address Preferences,</li>
  <li>Geocoding Settings,</li>
  <li>Job Settings.</li>
  </ul>
  <p>I confirmed that map works (using default sample data, the contacts come with geolocation info). The map icon is shown and the map is displayed when the icon is clicked on.</p>
  <p>I create a new contact or delete geolocation data from existing contacts. When I execute the geocoding job, the result is that the contacts addresses are parsed but none is geocoded:</p>
  <pre><code>Full message: 
  Finished execution of Geocode and Parse Addresses with result: Success (Addresses
  Evaluated: 2
  Addresses Geocoded: 0
  Street Addresses Parsed: 2
  )
  </code></pre>
  <p>When I check on the Google Cloud Metrics console I can see that all my geocoding requests generated an error. However I can't find any log with details and the request is generated by CiviCRM.</p>
  <p>Am I misssing some format for the address, field or step???
  I've tried on 2 clean install sites and can't get it to work.</p>
  <p>Help is appreciated.</p>
  <hr />
  <h2>See screen captures below:</h2>
  <h3>Address Preferences:</h3>
  <p><a href="https://i.sstatic.net/phBUE.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/phBUE.jpg" alt="Address Preferences" /></a></p>
  <h3>Geocoding Settings:</h3>
  <p><a href="https://i.sstatic.net/WwT0S.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/WwT0S.jpg" alt="Geocoding Settings" /></a></p>
  <h3>Default Contact with Geolocation info, showing map icon:</h3>
  <p><a href="https://i.sstatic.net/Non8J.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Non8J.jpg" alt="Default Contact with Geolocation info" /></a></p>
  <h3>Geocoding Job Settings</h3>
  <p><a href="https://i.sstatic.net/ppvsB.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ppvsB.jpg" alt="Job Settings" /></a></p>
  <h3>Google Cloud API report:</h3>
  <p><a href="https://i.sstatic.net/hbSqf.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hbSqf.jpg" alt="Google Cloud Metrics" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-25T20:20:40.467Z
Comments.Text: Solved it, thanks to a report made by Jean Luc on https://civicrm.stackexchange.com/questions/22831/issues-while-geocoding-brazilan-addresses-with-google-api-on-version-4-7
Comments.UserDisplayName: Carlos Miranda Levy
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-08-25T20:29:34.360Z
Comments.Text: Solved it, thanks to a report made by Jean Luc on https://civicrm.stackexchange.com/questions/22831/issues-while-geocoding-brazilan-addresses-with-google-api-on-version-4-7
  
  The problem was the domain restriction for the API key on Google. For some reason, restricting the domain generates the error for calls made from CIVICRM. Removing the restriction got it working. For some reason it's not working when I restrict domain or IP. Will continue testing.
Comments.UserDisplayName: Carlos Miranda Levy
Tags: <geocoding><google><map>
Title: Google Geocoding not working on fresh install of CiviCRM 5.4.0. and Drupal 7
ThreadText: # Google Geocoding not working on fresh install of CiviCRM 5.4.0. and Drupal 7
  
  (Asked by: username_0 on 2018-08-25)
  
  I can't get geocoding to work on a fresh install. Manually entering the lat,long works.
  I've followed the instructions and steps one by one.
  I configured all settings I found referenced on the instructions:
  
  Address Preferences,
  Geocoding Settings,
  Job Settings.
  
  I confirmed that map works (using default sample data, the contacts come with geolocation info). The map icon is shown and the map is displayed when the icon is clicked on.
  I create a new contact or delete geolocation data from existing contacts. When I execute the geocoding job, the result is that the contacts addresses are parsed but none is geocoded:
  Full message: 
  Finished execution of Geocode and Parse Addresses with result: Success (Addresses
  Evaluated: 2
  Addresses Geocoded: 0
  Street Addresses Parsed: 2
  )
  
  When I check on the Google Cloud Metrics console I can see that all my geocoding requests generated an error. However I can't find any log with details and the request is generated by CiviCRM.
  Am I misssing some format for the address, field or step???
  I've tried on 2 clean install sites and can't get it to work.
  Help is appreciated.
  
  See screen captures below:
  Address Preferences:
  
  Geocoding Settings:
  
  Default Contact with Geolocation info, showing map icon:
  
  Geocoding Job Settings
  
  Google Cloud API report:
  
  **Tags:** geocoding, google, map
  
  > **Comments:**
  > **username_0**: Solved it, thanks to a report made by Jean Luc on https://civicrm.stackexchange.com/questions/22831/issues-while-geocoding-brazilan-addresses-with-google-api-on-version-4-7  
  > **username_0**: Solved it, thanks to a report made by Jean Luc on https://civicrm.stackexchange.com/questions/22831/issues-while-geocoding-brazilan-addresses-with-google-api-on-version-4-7  The problem was the domain restriction for the API key on Google. For some reason, restricting the domain generates the error for calls made from CIVICRM. Removing the restriction got it working. For some reason it's not working when I restrict domain or IP. Will continue testing.  
  
  ---
  
  ## 0 answers
  
  