-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error generating query summary after click generate summary on the dashboard #42
Comments
Hi @ymo-do Please provide an update if you are able to find a fix - thanks! |
Could you check your looker version? I think it is related. the Looker server must be at version 7.21 or above. |
I am running version 25.0.23 which is the latest. Really hoping to get this working. |
In this case, I think we might had the same issue. The functions fetchProxy() and serverProxy() don't work in the looker server. In this case instead of bringing the true looker version to compare, it always returns "not found" and this breaks the check. Please use it wisely. I override these functions and found no issue. Here is the code I added to the Nc() function. if (!t) {console.error("🚨 API URL (t) is undefined! Setting fallback."); t = "YOUR CLOUD RUN URL";} It works on my end. |
@ymo-do Hey super appreciate your help with this. Could you confirm the following for anyone else with this issue? I'm still working on it...
** Notice the emoji above - could you re-enter the code you used? Anything else? Thanks! |
Hi, Really appreciate your great work here! I encountered an issue when I tried to implement this on my dashboard. I manually tested my cloud run app, it works. and I built the dashboard_summarization.js and uploaded to my looker project. I'm able to see the extension and am able to click generate summary. However, I didn't see any response back. By checking the source code on the Devtool Console. I found the error: Error generating query summary: Error: Error: Unable to parse request url "/generateSummary" I did update the js file a bit since the endpoint url should be the cloud run api endpoint/generateSummary but not generateQuerySummary. I tested this before and after the change. I got the same error anyway. Please let me know if i made anything wrong here. Thanks!
The text was updated successfully, but these errors were encountered: