/dashboards/import/bulk - error 500
I can call the /dashboards/import/bulk API call from the swagger interface but not from my code. I think I must be constructing the body of the json call wrongly but I can't see what's wrong, if anyone has this working I'd love to see the script. BTW I'm using C# but any example would be useful.
What I do get is a server error 500, and a logref - but I can't find any log where that id appears so I can debug further. Can anyone help with where the log file is that this is referencing?
{
error: {
logref: 7d2f5b31-f9a8-2370-2c98-0448027bf9d5,
code: 500,
message: Internal Server Error,
status: 500,
httpMessage: Internal Server Error
}
}
Also this is a close duplicate of https://support.sisense.com/hc/en-us/community/posts/360028496793-Importing-or-Copying-Dashboards?input_string=%2Fdashboards%2Fimport%2Fbulk - maybe someone has an answer this time?
Thanks
Ian
-
Hey Ian
Here's some python I wrote that works with that API call. https://github.com/nathangiusti/Sisense/blob/master/PySense/PySense.py#L126
I found that I had to take the dashboard string and wrap it in [] to get it to work for some reason.
Please sign in to leave a comment.
Comments
2 comments