Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Slightly unhelpful error message when lookerbot can't access the look. #215

Open
kyledemeule opened this issue Nov 17, 2021 · 4 comments
Open

Comments

@kyledemeule
Copy link

Recently we had someone setting up a webhook, but they were getting this error message posted in slack instead of the content:
Couldn't parse Looker response. The server may be offline.
The user that our lookerbot API Token didn't have access to the look, so when it tried to request the look I think it was getting a 404 response with an HTML body. I think this code tries to parse it as JSON, which understandably throws an exception which is caught, but has this error message, which isn't obvious that this is a resource not found/permissions issue. An additional response code check for 404 like this could probably deliver an error message that would make it more obvious that it's a permission issue.

@JohnOMDev
Copy link

@kyledemeule , do you find a solution. Looker support hasn't be helpful. It 404 error and the user that owns the API secret and Client Id is the Admin.

{ error: "Couldn't parse Looker response. The server may be offline." }

@kyledemeule
Copy link
Author

@JohnOMDev sorry no - I no longer use Looker.

@BDuelz
Copy link

BDuelz commented Mar 14, 2024

@kyledemeule , do you find a solution. Looker support hasn't be helpful. It 404 error and the user that owns the API secret and Client Id is the Admin.

{ error: "Couldn't parse Looker response. The server may be offline." }

We're also getting this same error when running lookerbot v0.0.15. Been working on it for weeks now with little progress.

@JohnOMDev
Copy link

@BDuelz , any progress? Can you please tell me what you did? I am working with looker support but seems weird that we can't find solution(s) for a month.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants