Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

Mockaroo data set upload API problem

$
0
0

Has anyone run into this one?

Note that this is the first attempt at using this feature.
I tried the same thing using the mockaroo-python library from @scarvy.
Had the same results with python results, his library and the CLI he provided so I don’t suspect the mockaroo-python library.

I downloaded an existing data set and then uploaded it using the REST API.
The new dataset FILE as viewed in the GUI is improperly named data.csv.
The file contains extra junk (example below) and doesn’t work correctly when referenced in a schema.

Is the data set upload API having a problem or am I doing something wrong?

–c125691c9a959db6423161fb81b24d2f
Content-Disposition: form-data; name=“file”; filename=“A_Country-CRS046-CSCD.csv”

CTCONO,CTDIVI,CTSTCO,CTSTKY,CTLNCD,CTTX40,CTTX15,CTPARM,CTTXID,CTRGDT,CTRGTM,CTLMDT,CTCHNO,CTCHID,CTLMTS,CTDTID,CTMGSQ
751, ,CSCD ,AD , ,Andorra,Andorra ,0043AD - EUR 0 01000000 0,0,20231004,84827,20231004,2,USR0000034,1696409307482,0,601

–c125691c9a959db6423161fb81b24d2f–


Viewing all articles
Browse latest Browse all 2665

Trending Articles