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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 98 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 712 Beast Mode
- 50 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 116 Manage
- 113 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 104 Community Announcements
- 4.8K Archive