CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Very unhelpful eror message
Pages: [1]

Author Topic: Very unhelpful eror message  (Read 521 times)

permaculturegeek

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
    • Permaculture in New Zealand
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Very unhelpful eror message
March 26, 2014, 04:19:19 am
When importing contacts with a mapping to EXTERNAL ID, the system throws an error if you have a non-unique value in your external ID field in the import file.
"Sorry but we are not able to provide this at the moment." and DB: File Exists
Given the lack of formatting, it's possible that thi error comes from MySQL rather than from civi, but a more explanatory message would be helpful.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Very unhelpful eror message
March 26, 2014, 07:21:08 am
I'd open a bug report on issues.civicrm.org on this; a duplicate external ID shouldn't cause the import to fail (though now that you mention it, I've seen it before myself).  It should be treated the same way as, say, an invalid state/province.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Very unhelpful eror message
March 26, 2014, 12:32:03 pm
But we agree that External IDs have to be unique?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Very unhelpful eror message
March 26, 2014, 12:47:15 pm
Yes - but they should be rejected as an invalid contact, instead of crashing the import.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Very unhelpful eror message

This forum was archived on 2017-11-26.