Skip to content
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

An unexpected error happened - Error: Minified React error #301 #221

Open
patchie opened this issue Feb 16, 2024 · 3 comments
Open

An unexpected error happened - Error: Minified React error #301 #221

patchie opened this issue Feb 16, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@patchie
Copy link

patchie commented Feb 16, 2024

Installed last version of Grafana(10.3.3)
Installed last version of LLM plugin(0.6.0)
Enabled "dashgpt" Feature.
Configured the plugin with Azure OpenAI:
image

How to recreate the problem:

  1. Open a dashboard
  2. Go to dashboard settings
  3. Press "Auto Generate"
    image
  4. An unexpected error happened. Screenshot below:
    image

Full error message below:

An unexpected error happened
Details
Error: Minified React error #301; visit https://reactjs.org/docs/error-decoder.html?invariant=301 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at Q (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:1976:7196)
    at m (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:1984:69)
    at div
    at div
    at o (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:211:47906)
    at g (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:211:48262)
    at div
    at http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:192:134859
    at div
    at http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:211:45043
    at div
    at div
    at div
    at div
    at div
    at X (http://hostname:3000/public/build/1663.190becda783f60342f79.js:124:36505)
    at m (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:192:29691)
    at div
    at W (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:404:21349)
    at Jt (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:1966:1003)
    at Vt (http://hostname:3000/public/build/1663.190becda783f60342f79.js:183:66201)
    at gr (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:1974:3599)
    at vn (http://hostname:3000/public/build/DashboardPageProxy.dbec33b5fdad6d16d25e.js:407:474)
    at DashboardPage
    at Vt (http://hostname:3000/public/build/1663.190becda783f60342f79.js:183:66201)
    at So (http://hostname:3000/public/build/DashboardPageProxy.dbec33b5fdad6d16d25e.js:407:6597)
    at Suspense
    at o (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:192:118866)
    at bo (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:349:10002)
    at be (http://hostname:3000/public/build/1663.190becda783f60342f79.js:228:23522)
    at uo (http://hostname:3000/public/build/1663.190becda783f60342f79.js:209:4728)
    at Jn (http://hostname:3000/public/build/1663.190becda783f60342f79.js:209:10219)
    at el (http://hostname:3000/public/build/1663.190becda783f60342f79.js:228:11773)
    at be (http://hostname:3000/public/build/1663.190becda783f60342f79.js:228:25717)
    at div
    at div
    at main
    at div
    at Ji (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:349:2441)
    at uo (http://hostname:3000/public/build/1663.190becda783f60342f79.js:209:4728)
    at Jn (http://hostname:3000/public/build/1663.190becda783f60342f79.js:209:10219)
    at Cn (http://hostname:3000/public/build/1663.190becda783f60342f79.js:209:9608)
    at Dl (http://hostname:3000/public/build/1663.190becda783f60342f79.js:228:12072)
    at be (http://hostname:3000/public/build/1663.190becda783f60342f79.js:228:19694)
    at div
    at i (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:212:13890)
    at d (http://hostname:3000/public/build/1663.190becda783f60342f79.js:41:13951)
    at p (http://hostname:3000/public/build/1663.190becda783f60342f79.js:683:233964)
    at d (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:700:21358)
    at o (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:192:118866)
    at g (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:192:119375)
    at Ae (http://hostname:3000/public/build/1663.190becda783f60342f79.js:187:530)
    at Br (http://hostname:3000/public/build/8291.c757e598a21c790323c9.js:360:127)
@csmarchbanks
Copy link
Collaborator

Thank you for the report! @SandersAaronD could you investigate this? I am not sure if the error is from the Dashboard code or our plugin. I think it might be the dashboard code though?

@SandersAaronD SandersAaronD self-assigned this Feb 16, 2024
@SandersAaronD SandersAaronD added the bug Something isn't working label Feb 16, 2024
@SandersAaronD
Copy link
Contributor

This is almost certainly the dashgpt code, Grafana versions after 10.2.0 have produced dependency and build problems for them. I will make sure this gets linked to efforts around that so that we don't consider them fixed until this is fixed.

@bossjie
Copy link

bossjie commented May 7, 2024

I met the same issue using grafana 11.0 preview.
Following your clue, I turn to 10.1.9 and also 10.3 the AI generate button is not showing up although I set the LLM config well(it shows up in 11.0 preview). I guess there is some toggle to enable it. May I get the trigger before the issue is fixed? thanks @SandersAaronD
AIButtoneNotShowingUp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants