pydomo get error

I'm attempting to replace the contents of a Domo dataset using a python script with pydomo calls.

When I run the script, the dataset in Domo is not updated, but no exception is raised.  How do I see the http response for the import so that I can get the error code?

 

Here is the script

    try:
domo.datasets.data_import(ds_issue_id, issue_rows, "REPLACE")
print('Wrote to Domo dataset %s %s issue count %d' % (ds_issue_name, ds_issue_id, issue_count_total))

except Exception as e:
print('Failed to write to Domo dataset %s %s. Error: %s' % (ds_issue_name, ds_issue_id, str(e)))

Thanks in advance for your attention.

Comments

This discussion has been closed.