Results 1 to 4 of 4

Thread: Could not parse csv file

  1. #1
    jdossey7 is offline Intermediate Member
    Join Date
    Aug 2007
    Location
    US
    Posts
    23
    Rep Power
    8

    Default Could not parse csv file

    I'm trying to import my contacts from Zimbra 4.5.9 to 5.0.2. I followed the mirgration guide and used wget to read the contacts from 4.5 into a csv file. But when I use curl to try to import the csv file, I get the following error:
    HTTP ERROR: 400
    could not parse csv file

    Here are the wget and curl commands I used:
    Code:
    wget https://$user:$pass@$SRC/zimbra/user/$user/contacts.csv --no-check-certificate
    curl -u "$user:$pass" --data-binary \@contacts.csv http://$DEST/service/home/$user/contacts?fmt=csv --insecure
    And here are the first couple of lines of the csv file:
    Code:
    "assistantPhone","birthday","callbackPhone","carPhone","company","companyPhone","description","department","dlist","email","email2","email3","fileAs","firstName","fullName","homeCity","homeCountry","homeFax","homePhone","homePhone2","homePostalCode","homeState","homeStreet","homeURL","initials","jobTitle","lastName","middleName","mobilePhone","namePrefix","nameSuffix","nickname","notes","office","otherCity","otherCountry","otherFax","otherPhone","otherPostalCode","otherState","otherStreet","otherURL","pager","workCity","workCountry","workFax","workPhone","workPhone2","workPostalCode","workState","workStreet","workURL","type"
    "","","","","","","","","","name@somedomain.com","","","","Phil","Phil Smith","","","","","","","","","","","","Smith","","","","","","","","","","","","","","","","","","","","","","","","","",""
    Am I doing something wrong?

    Jim

  2. #2
    lfasci is offline Trained Alumni
    Join Date
    Jul 2006
    Location
    Pisa
    Posts
    135
    Rep Power
    9

    Default

    I think it's a bug.

    I created a contact on zcs 5.0.2 exported it but I'm unable to reimport using rest, it works
    from web interface.

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Please file an entry in bugzilla.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    lfasci is offline Trained Alumni
    Join Date
    Jul 2006
    Location
    Pisa
    Posts
    135
    Rep Power
    9

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 11:14 AM
  2. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 11:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •