Answers.Body: <p>Not sure what was going on, but thank you to Eileen. I did the following steps on CiviCRM 4.7.18, probably not ideal if you already have data though.</p>
  
  <ol>
  <li>Delete all cases and case types.</li>
  <li>Delete all relationships</li>
  <li>Disable CiviCase</li>
  <li>Clear Cache</li>
  <li>Re-enable CiviCase</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-04T00:33:20.997Z
Answers.LastActivityDate: 2017-05-04T00:33:20.997Z
Answers.UserDisplayName: Kristine
Answers.Body: <p>No, not normal. And not, AFAIK a known error. In order to make sense of something like this devs usually need debugging information. There is error output in the log files in the ConfigAndLog directory - on drupal sites this will usually be in sites/default/files/civicrm/ConfigAndLog</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-03T22:13:55.110Z
Answers.LastActivityDate: 2017-05-03T22:13:55.110Z
Answers.UserDisplayName: user4278
Body: <p>I'm on CiviCRM 4.6.18 and Drupal. When I save a case type, I keep getting an error on the top right that says "API error: DB Error: already exists." I'm not sure if this is causing another issue I'm having which is when I create a case, the loading keeps hanging. </p>
  
Tags: <civicase>
Title: Normal to have API error while saving a Case Type?
ThreadText: # Normal to have API error while saving a Case Type?
  
  (Asked by: username_0 on 2017-05-03)
  
  I'm on CiviCRM 4.6.18 and Drupal. When I save a case type, I keep getting an error on the top right that says "API error: DB Error: already exists." I'm not sure if this is causing another issue I'm having which is when I create a case, the loading keeps hanging.
  
  **Tags:** civicase
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-05-04. Score: 0 | Accepted answer
  
  Not sure what was going on, but thank you to Eileen. I did the following steps on CiviCRM 4.7.18, probably not ideal if you already have data though.
  
  1. Delete all cases and case types.
  2. Delete all relationships
  3. Disable CiviCase
  4. Clear Cache
  5. Re-enable CiviCase
  
  
  ---
  
  ### Answer by username_1 on 2017-05-03. Score: 0
  
  No, not normal. And not, AFAIK a known error. In order to make sense of something like this devs usually need debugging information. There is error output in the log files in the ConfigAndLog directory - on drupal sites this will usually be in sites/default/files/civicrm/ConfigAndLog
  
  
  ---
  
  