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
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 662 Datasets
- 118 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 3 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 10 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive