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.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 556 Datasets
- 2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 569 Beast Mode
- 11 App Studio
- 27 Variables
- 578 Automate
- 140 Apps
- 414 APIs & Domo Developer
- 23 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 351 Distribute
- 91 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 92 Manage
- 89 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 85 Community Announcements
- 4.8K Archive