You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking how to pull data from an API when I came across this blog:
https://preset.io/blog/accessing-apis-with-superset/
This is the first time I am doing it, and I did not know that data adapters require some packages to be installed first. In fact, only the genericjsonapi required a package called shillelagh[genericjsonapi] (according to Gemini). Otherwise I would get a generic error like this below.
My issue is that the error is not helpful here. I didn't even know what was wrong. is the connection string ok? Does my Engine Parameter string do not follow proper json and I should go to google to json-proof this? Finally I deleted some adapters and clicked 'finish' and discovered that "genericjsonapi" adapter is the one throwing error.
docker logs superset_app | grep genericjsonapi gave me the second confirmation. But notice its in a WARNING message, not to mention it is inside container logs, not in the UI.
Notice that it would not be possible to check what exactly was the issue from docker logs only; had I not pinpointed the error to "genericjsonapi" by just removing and adding it in the UI. The reason is there are a Lot of stuff here! see below:
My Proposal is to have an "Event/Error Log" to show any errors, just like the "Action Logs"(which I dont know what kind of logs it is showing...)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
noob alert
I was looking how to pull data from an API when I came across this blog:
https://preset.io/blog/accessing-apis-with-superset/
This is the first time I am doing it, and I did not know that data adapters require some packages to be installed first. In fact, only the genericjsonapi required a package called shillelagh[genericjsonapi] (according to Gemini). Otherwise I would get a generic error like this below.

My issue is that the error is not helpful here. I didn't even know what was wrong. is the connection string ok? Does my Engine Parameter string do not follow proper json and I should go to google to json-proof this? Finally I deleted some adapters and clicked 'finish' and discovered that "genericjsonapi" adapter is the one throwing error.

docker logs superset_app | grep genericjsonapigave me the second confirmation. But notice its in a WARNING message, not to mention it is inside container logs, not in the UI.Notice that it would not be possible to check what exactly was the issue from docker logs only; had I not pinpointed the error to "genericjsonapi" by just removing and adding it in the UI. The reason is there are a Lot of stuff here! see below:
My Proposal is to have an "Event/Error Log" to show any errors, just like the "Action Logs"(which I dont know what kind of logs it is showing...)
Beta Was this translation helpful? Give feedback.
All reactions