pydomo"status":403

Successfully retrieving data with domo.ds_get.
But why is an error outputted and how can I work around it?
An error occurred while converting domo schema to pandas dtypes.
Letting pandas attempt to read the data. Error=Error retrieving DataSet: {"status":403,"statusReason":"Forbidden","message":"Access is denied","toe":""}
Executed code:
# \"datasources/\"と\"/details\"の間の部分を抽出# urlを表示したいコードに変更してください。match = re.search(r'datasources/(.*?)/details', url7)if match: datasource_id = match.group(1) df_01 = domo.ds_get(datasource_id) print(df_01.shape) print(df_01)else: print("無効なURL形式です。データソースIDを抽出できませんでした。")
Answers
-
When you say it was successful - do you mean it says it was successful, or that you actually got your data back from the executed code?
The error suggests the user is not authorized to access that dataset. The domo.ds_get() fetches meta data or schema but probably fails on the retrieval of actual data. Token or account may have access to metadata but not the data itself if your getting a success message but not the data.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 89 App Studio
- 46 Variables
- Automate
- 197 Apps
- 489 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 144 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive