get lookml from dashboard using the API

Hello, I am trying to automatically extract the LookML code from dashboards using the python sdk. More specifically I am using this method: "sdk.dashboard_lookml(id)". For most of the cases it works but in some cases it fails. For these cases, I tried to do it manually from the UI to see if that's possible but I still receive an error. More specifically, the error is (attached in screenshot):  "Failed to convert the dashboard: dashboard contains query or look elements with more than one filterables_listen.". Do you know in this cases how can I still extract the LookML code (automatically) and what exactly causes this error? Thank you very much!

Marilena_0-1712739245822.png

 

0 2 101
2 REPLIES 2

Hi Marilena,

I haven't come across this before but this looks like it could potentially be a bug. Have you filed a support ticket to get their eyes and thoughts on this?


Hello, I found this method in the API: Get lookml of a UDD and worked for my purpose. Thank you!