Answers.Body: <p>I needed toL</p>
  
  <blockquote>
    <p>drush cc civicrm.</p>
  </blockquote>
  
  <ul>
  <li>clearing Civi cash via ui did not work</li>
  <li>drush cc all did not work</li>
  </ul>
  
  <p>many thanks to Christia: <a href="https://civicrm.stackexchange.com/a/19237">https://civicrm.stackexchange.com/a/19237</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-11T07:31:23.387Z
Answers.LastActivityDate: 2018-04-11T07:31:23.387Z
Answers.UserDisplayName: Marsh Circle
Body: <p>I'm getting the following error when I'm trying to send a test email.  </p>
  
  <blockquote>
    <p>Error in call to Mailing_send_test : Error in call to
    MailingJob_create : DB Constraint Violation - possibly mailing_id
    should possibly be marked as mandatory for this API. If so, please
    raise a bug report</p>
  </blockquote>
  
  <p>Civi was working yesterday. Some reports have been run since then but nothing else. I'm on 4.6.22 for Drupal.  Any thoughts on how I can fix this bug?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-09T11:39:52.530Z
Comments.Text: Check your civicrm error log. You will find more details there.
Comments.UserDisplayName: Prem Patel
Tags: <civimail><error>
Title: Mailing_send_test error
ThreadText: # Mailing_send_test error
  
  (Asked by: username_0 on 2017-02-08)
  
  I'm getting the following error when I'm trying to send a test email.
  
  > Error in call to Mailing\_send\_test : Error in call to
  > MailingJob\_create : DB Constraint Violation - possibly mailing\_id
  > should possibly be marked as mandatory for this API. If so, please
  > raise a bug report
  
  Civi was working yesterday. Some reports have been run since then but nothing else. I'm on 4.6.22 for Drupal. Any thoughts on how I can fix this bug?
  
  **Tags:** civimail, error
  
  > **Comments:**
  > **username_1**: Check your civicrm error log. You will find more details there.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-04-11. Score: 2
  
  I needed toL
  
  > drush cc civicrm.
  
  * clearing Civi cash via ui did not work
  * drush cc all did not work
  
  many thanks to Christia: <https://civicrm.stackexchange.com/a/19237>
  
  
  ---
  
  