Skip to content

Unable to upload data as a list of uuid's(not stringified) #34

@tarun-lakhmani

Description

@tarun-lakhmani

I am trying to upload data from a tsv file, and data in one field/bin is a list of uuid's, but it is not getting uploaded due to (Failed to parse JSON: Unexpected token VALUE(0) at position 1. ) error.

config file
{
"version" : "2.0",
"dsv_config": { "delimiter": "\t" , "n_columns_datafile": 2, "header_exist": false},

"mappings": [
{
"key": {"column_position":1, "type": "string"},
"set": "User-Segment-Mapping-CITY"

      "bin_list": [
        {"name": "id",
         "value": { "column_position":1, "type" : "string"}
        },
        {"name": "segments",
         "value": { "column_position":2, "type" : "json"}
        }
      ]
  }

]
}

data(tsv file)

ac32cdc5-2be8-40a4-a0ac-dca9ea4244c5 {00b10ef8-96ff-48cd-ad4d-1c0e3c37cc1b,04e36546-8a61-4c0e-b38e-7db8304792de}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions