Answers.Body: <p>It looks like you have may not have set a command parameter in the Scheduled Job (but maybe you're adding it when you run the job via URL?).  Do you have <code>geocoding=1</code> in your command parameters for "Geocode and Parse Addresses"?</p>
  
  <p>See <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-ScheduledJobs" rel="nofollow">Managing Scheduled Jobs</a> from the Civi wiki for reference (2nd row of the table).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-31T15:31:04.320Z
Answers.Text: Thanks Allen - you made me look again at what I had set for the parameters in the UI. By default they look like "geocoding=[1]" and "parse=[1]". I had edited the digits to suit but left the square brackets in place. Removing the square brackets is required for the job to run correctly.
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-31T15:24:01.093Z
Answers.LastActivityDate: 2015-12-31T15:24:01.093Z
Answers.UserDisplayName: Allen Hutchison
Body: <p>When running the Geocoding/parsing scheduled job (CiviCRM 4.6.10/Drupal 7) I get the following error message:</p>
  
  <pre><code>    Full message: 
  Finished execution of Geocode and Parse Addresses with result: Failure, Error message: Error: Both Geocode mapping as well as Street Address Parsing are disabled. You must configure one or both options to use this script.
  </code></pre>
  
  <p>I've got Google set as the service provider for mapping and geocoding data, with no API key. I'm not interested in address parsing, and have the parsing parameter for the scheduled job set to 0.</p>
  
  <p>If I run the job via URL it works fine, but executing it via the UI gives the error message.</p>
  
  <p>Am I missing something?</p>
  
Tags: <cron-job><geocoding>
Title: Geocoding scheduled job failure
ThreadText: # Geocoding scheduled job failure
  
  (Asked by: username_0 on 2015-12-31)
  
  When running the Geocoding/parsing scheduled job (CiviCRM 4.6.10/Drupal 7) I get the following error message:
  
  ```
      Full message: 
  Finished execution of Geocode and Parse Addresses with result: Failure, Error message: Error: Both Geocode mapping as well as Street Address Parsing are disabled. You must configure one or both options to use this script.
  
  ```
  
  I've got Google set as the service provider for mapping and geocoding data, with no API key. I'm not interested in address parsing, and have the parsing parameter for the scheduled job set to 0.
  
  If I run the job via URL it works fine, but executing it via the UI gives the error message.
  
  Am I missing something?
  
  **Tags:** cron-job, geocoding
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-12-31. Score: 4 | Accepted answer
  
  It looks like you have may not have set a command parameter in the Scheduled Job (but maybe you're adding it when you run the job via URL?). Do you have `geocoding=1` in your command parameters for "Geocode and Parse Addresses"?
  
  See [Managing Scheduled Jobs](http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-ScheduledJobs) from the Civi wiki for reference (2nd row of the table).
  
  > **Comments:**
  > **username_0**: Thanks username_1 - you made me look again at what I had set for the parameters in the UI. By default they look like "geocoding=[1]" and "parse=[1]". I had edited the digits to suit but left the square brackets in place. Removing the square brackets is required for the job to run correctly.  
  
  ---
  
  