extra blank line being added on data import

I have successfully imported a csv to a dataset  via the api, however, an extra blank line is being added right after the the column headers. I have tried both the Windows csv encoding (\r\n line terminator), and Unix encoding (\n only) and this hasn't fixed the issue. Any ideas?

Best Answer

  • chaderick9
    chaderick9 Domo Employee
    Answer ✓

    When you say you have successfully imported a csv to a dataset via the api I assume you have been following the documentation here:

    https://developer.domo.com/docs/domo-apis/data#API%20-%20Import%20Data

     

    If that is the case a common issue that is overlooked is the content-type header in your put statement. Make sure that is text/csv

     

    If that is already in place feel free to email support@domo.com with an example of your put statement and csv content. Please reference case 02358316 in your email. Screenshots are also welcomed.

     

    If we have misunderstood your concern please clarify for us so we can better assist you.

     

    Thanks,

    Chad D.

     

    * I work for DOMO *

Answers

  • @Gavatar can you look into @pairwin's issue here?  Thanks!

    Product Manager, Domo Apps
  • chaderick9
    chaderick9 Domo Employee
    Answer ✓

    When you say you have successfully imported a csv to a dataset via the api I assume you have been following the documentation here:

    https://developer.domo.com/docs/domo-apis/data#API%20-%20Import%20Data

     

    If that is the case a common issue that is overlooked is the content-type header in your put statement. Make sure that is text/csv

     

    If that is already in place feel free to email support@domo.com with an example of your put statement and csv content. Please reference case 02358316 in your email. Screenshots are also welcomed.

     

    If we have misunderstood your concern please clarify for us so we can better assist you.

     

    Thanks,

    Chad D.

     

    * I work for DOMO *

This discussion has been closed.