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.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive