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! **