Module error for "sdk_exceptions"

Getting error while running api testing to generate pdf of dashboard.

19091c39-bd65-4f6e-9976-04665555ca05.png
Solved Solved
0 3 197
1 ACCEPTED SOLUTION

Hello @manishkamble19 ,

You could either copy the file sdk_exceptions.py from https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/sdk_exceptions.py and save it to the folder containing the your scrip for down_dashboard_pdf.py

This file is for custom error handling, you could replace all the lines such as “sdk_exceptions.ArgumentError” (sdk_exceptions . __) with simple “Exception” if you do not require the custom error handling.

Hope this helps!

View solution in original post