Uploading CSV file using pydomo Streams API gives error
While trying to upload a CSV file using the Streams API in PyDomo, I get the following error:
Exception: Error uploading Data Part on Execution 1 on Stream 1233: {"status":400,"statusReason":"Bad Request","message":"Invalid CSV provided during upload. msg=There are too few columns. Expected 87. Row 1, column 2. Row: /data/NovemberViewabilityAnalysis/2018-11-14_all_1.csv\n","toe":"0LN59PKO3C-0CPJR-L0OSS"}
The Row that is causing this error is not in the CSV file.
Row: /data/NovemberViewabilityAnalysis/2018-11-14_all_1.csv\n","toe":"0LN59PKO3C-0CPJR-L0OSS"
I am creating the CSV file using pandas and saving it in a temporary location before calling the streams.upload_part function on this file. Please let me know how I can prevent this.
Thanks!
Thanks!
Comments
-
Hello,
If you have not done this already, please submit a ticket to Domo Support. That will be the easiest way to get this resolved.
Thanks
0 -
Yes, I have raised a ticket. Thank you for your reply!
0 -
Ok, I noticed that. That ticket is assigned to me with support.
0 -
has this been resolved? i'm having the same issue
0 -
No this is not resolved. I was supposed to provide an example file. However, I did not as I started using the regular UI connectors with part imports from S3 as an alternative and did not have the time to follow up on this issue.
0 -
I got the error message
"message":"Invalid CSV provided during upload. msg=There are too many columns. Expected 2. Row 1, column 3.
I confirmed the csv file with CRLF end of line. refer here https://developer.domo.com/docs/dataset/formatting-data-to-import
I attached the file I used, would you like to confirm it for us?
thank you!
0 -
Hi, I got the same issue. https://dojo.domo.com/t5/Data-Sources-and-Connectors/Uploading-CSV-file-using-domo-dataset-API-gives-error/m-p/45977
@DaniBoy seems no one mainten the domo dataset api from domo team.
Is there any new update for this?
thank you!
0 -
@Jarvis Can someone in support take a look at this thread?
Thanks!1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive