Unexpected error with pydomo "ds_update"
Hi.
I use pydomo to daily import external data using the "ds_update" function. Today, on January 23, 2024, when I executed the script that I have been using so far, an unexpected error occurred, preventing the data from being imported. I operate three similar scripts, and all of them encountered the same error today.
I'm troubled as I don't understand the cause of the issue. Your guidance on this matter would be greatly appreciated.
At the end of my script is as follows( I have redacted the dataset ID):
domo = Domo(DomoClientID, DomoClientSecret, api_host = 'api.domo.com')
dataset_update = domo.ds_update('XXXX', data)
The error message that occurred is as follows:
Exception Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_4288\2793476071.py in <module>
1 domo = Domo(DomoClientID,DomoClientSecret,api_host = 'api.domo.com')
----> 2 dataset_update = domo.ds_update('XXXX',data)
~\.conda\envs\domo_basic\lib\site-packages\pydomo\__init__.py in ds_update(self, ds_id, df_up)
212
213 def ds_update(self, ds_id, df_up):
--> 214 return self.utilities.stream_upload(ds_id, df_up)
215
216 ######### PDP #########
~\.conda\envs\domo_basic\lib\site-packages\pydomo\utilities\UtilitiesClient.py in stream_upload(self, ds_id, df_up, warn_schema_change)
58
59 def stream_upload(self, ds_id, df_up, warn_schema_change=True):
---> 60 domoSchema = self.domo_schema(ds_id)
61 dataSchema = self.data_schema(df_up)
62
~\.conda\envs\domo_basic\lib\site-packages\pydomo\utilities\UtilitiesClient.py in domo_schema(self, ds_id)
17
18 def domo_schema(self, ds_id):
---> 19 this_get = self.ds.get(ds_id)
20 return this_get['schema']['columns']
21
~\.conda\envs\domo_basic\lib\site-packages\pydomo\datasets\DataSetClient.py in get(self, dataset_id)
38 url = '{base}/{dataset_id}'.format(
39 base=URL_BASE, dataset_id=dataset_id)
---> 40 return self._get(url, DATA_SET_DESC)
41
42 """
~\.conda\envs\domo_basic\lib\site-packages\pydomo\DomoAPIClient.py in _get(self, url, obj_desc)
31 self.logger.debug("Error retrieving " + obj_desc + ": "
32 + self.transport.dump_response(response))
---> 33 raise Exception("Error retrieving " + obj_desc + ": "
34 + response.text)
35
Exception: Error retrieving DataSet:
Best Answer
-
This appears to be a system-wide issue. I'd recommend logging a ticket with Domo Support. I'm having the same issue as well.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2
Answers
-
This appears to be a system-wide issue. I'd recommend logging a ticket with Domo Support. I'm having the same issue as well.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 600 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 685 Beast Mode
- 43 App Studio
- 38 Variables
- 655 Automate
- 170 Apps
- 438 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 384 Distribute
- 110 Domo Everywhere
- 268 Scheduled Reports
- 6 Software Integrations
- 111 Manage
- 108 Governance & Security
- 8 Domo University
- 25 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive