beacon-APIs icon indicating copy to clipboard operation
beacon-APIs copied to clipboard

"Could not render _t, see the console."

Open eliotstock opened this issue 2 years ago • 2 comments

I've never been able to get the API client webpage/docs at https://ethereum.github.io/beacon-APIs/ to work.

Steps to repro:

  1. Go to https://ethereum.github.io/beacon-APIs/
  2. Optionally, change the server_url to a known good server
  3. Go to any endpoint/method and click 'Try it out'
  4. Enter params and click 'Execute'

Result:

UI says: Could not render _t, see the console. Console says:

react-dom.production.min.js:216 TypeError: Cannot read properties of null (reading 'get')
    at Ue.render (live-response.jsx:55:29)
    at Hi (react-dom.production.min.js:187:188)
    at Wi (react-dom.production.min.js:186:173)
    at Ks (react-dom.production.min.js:269:427)
    at Il (react-dom.production.min.js:250:347)
    at Ol (react-dom.production.min.js:250:278)
    at Cl (react-dom.production.min.js:250:138)
    at bl (react-dom.production.min.js:243:163)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343)
cs @ react-dom.production.min.js:216
r.payload @ react-dom.production.min.js:217
da @ react-dom.production.min.js:130
Wi @ react-dom.production.min.js:184
Ks @ react-dom.production.min.js:269
Il @ react-dom.production.min.js:250
Ol @ react-dom.production.min.js:250
Cl @ react-dom.production.min.js:250
bl @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Jo @ react-dom.production.min.js:122
Zo @ react-dom.production.min.js:123
Go @ react-dom.production.min.js:122
wl @ react-dom.production.min.js:244
notify @ Subscription.js:19
t.notifyNestedSubs @ Subscription.js:90
t.handleChangeWrapper @ Subscription.js:95
v @ redux.js:296
(anonymous) @ utils.js:180
(anonymous) @ redux.js:546
(anonymous) @ actions.js:482
Promise.catch (async)
(anonymous) @ actions.js:475
(anonymous) @ utils.js:177
(anonymous) @ redux.js:546
(anonymous) @ wrap-actions.js:33
n @ system.js:175
(anonymous) @ system.js:487
(anonymous) @ actions.js:499
(anonymous) @ utils.js:177
(anonymous) @ redux.js:546
(anonymous) @ spec-wrap-actions.js:9
n @ system.js:175
(anonymous) @ system.js:487
(anonymous) @ execute.jsx:66
(anonymous) @ execute.jsx:80
(anonymous) @ execute.jsx:90
Ve @ react-dom.production.min.js:52
Ge @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
On @ react-dom.production.min.js:100
jn @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
De @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mn @ react-dom.production.min.js:105
Xt @ react-dom.production.min.js:75
Qt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Jo @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Zt @ react-dom.production.min.js:73
error-boundary.jsx:18 TypeError: Cannot read properties of null (reading 'get')
    at Ue.render (live-response.jsx:55:29)
    at Hi (react-dom.production.min.js:187:188)
    at Wi (react-dom.production.min.js:186:173)
    at Ks (react-dom.production.min.js:269:427)
    at Il (react-dom.production.min.js:250:347)
    at Ol (react-dom.production.min.js:250:278)
    at Cl (react-dom.production.min.js:250:138)
    at bl (react-dom.production.min.js:243:163)
    at react-dom.production.min.js:123:115
    at t.unstable_runWithPriority (scheduler.production.min.js:18:343) {componentStack: '\n    at Ue (https://ethereum.github.io/beacon-APIs…o/beacon-APIs/dist/swagger-ui-bundle.js:2:211217)'}

Expected result:

Endpoint is hit and response is rendered.

eliotstock avatar Nov 22 '22 00:11 eliotstock