Getting error while running api testing to generate pdf of dashboard.
Solved! Go to 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!