Custom Import error: Index 1 out of bounds for length 1

Julien Kieffer
Julien Kieffer Member, Data Exchange, Automotive Solution Posts: 3

Hi,
I'm trying to use a custom import plugin to import relationships from a CSV file and I'm getting the following error: 

Custom Import error: Index 1 out of bounds for length 1 

For info, I've used similar plugins and CSVs to import relationships between a different source but same destination, and same source but different destination and it worked perfectly fine. 

Any idea what this error means? 

Thanks

------------------------------
Julien Kieffer
------------------------------

Comments

  • [Deleted User]
    [Deleted User] Posts: 152
    edited February 2023

    Hi Julien, 

    This error message typically reflects an error that is related to something additional in or missing from the document that you're trying to import. If, after reviewing the document, you're unable to find any additional or missing characters, please file a Support ticket and include a link to this thread, as well as the document file and the version of Jama Connect you're using, in the ticket description, so that we can dig in deeper with you. 

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 02-20-2023 02:27
    From: Julien Kieffer
    Subject: Custom Import error: Index 1 out of bounds for length 1

    Hi,
    I'm trying to use a custom import plugin to import relationships from a CSV file and I'm getting the following error: 

    Custom Import error: Index 1 out of bounds for length 1 

    For info, I've used similar plugins and CSVs to import relationships between a different source but same destination, and same source but different destination and it worked perfectly fine. 

    Any idea what this error means? 

    Thanks

    ------------------------------
    Julien Kieffer
    ------------------------------
  • Julien Kieffer
    Julien Kieffer Member, Data Exchange, Automotive Solution Posts: 3
    edited March 2023

    Thanks Carly. 
    The actual issue was coming from an empty line at the end in the custom import plugin. 

    ------------------------------
    Julien Kieffer
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 02-22-2023 10:45
    From: Carly Rossi
    Subject: Custom Import error: Index 1 out of bounds for length 1

    Hi Julien, 

    This error message typically reflects an error that is related to something additional in or missing from the document that you're trying to import. If, after reviewing the document, you're unable to find any additional or missing characters, please file a Support ticket and include a link to this thread, as well as the document file and the version of Jama Connect you're using, in the ticket description, so that we can dig in deeper with you. 

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------

    Original Message:
    Sent: 02-20-2023 02:27
    From: Julien Kieffer
    Subject: Custom Import error: Index 1 out of bounds for length 1

    Hi,
    I'm trying to use a custom import plugin to import relationships from a CSV file and I'm getting the following error: 

    Custom Import error: Index 1 out of bounds for length 1 

    For info, I've used similar plugins and CSVs to import relationships between a different source but same destination, and same source but different destination and it worked perfectly fine. 

    Any idea what this error means? 

    Thanks

    ------------------------------
    Julien Kieffer
    ------------------------------