[SOLVED] GraphQL execution pn /api/graphql page doesn't work properly

I’m submitting a…

[ ] Regression (a behavior that stopped working in a new release)
[ x] Bug report
[ ] Performance issue
[ ] Documentation issue or request

Current behavior

On the page in response part of GraphiQL see following error

TypeError: Cannot read property 'data' of null
    at https://cloud.squidex.io/build/12.d063ac2798ae0f327ba5.chunk.js:37:12578
    at r.invoke (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:7147)
    at Object.onInvoke (https://cloud.squidex.io/build/app.js?d063ac2798ae0f327ba5:300:1955)
    at r.invoke (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:7087)
    at e.run (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:2256)
    at https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:13993
    at r.invokeTask (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:7848)
    at Object.onInvokeTask (https://cloud.squidex.io/build/app.js?d063ac2798ae0f327ba5:300:1867)
    at r.invokeTask (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:7769)
    at e.runTask (https://cloud.squidex.io/build/shims.js?d063ac2798ae0f327ba5:22:2969)

Also GraphQL documentation doesn’t work and any requests return null response

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with version docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

Application capot-website-nano

The problem seems that language names must be converted, e.g. de-DE -> de_DE

As a temporary workaround you can remove your language: ru-UA

confirm, it’s helped!
I’ve changed ru-UA to just ru

Would be good use right locales in future.

Thanks for help!

Yes, it will definitely fixed today or tomorrow.

1 Like

Hi, I deployed a fix.

Hi, fix works perfect, I’ve tested it on my side.
Thanks for fast fix
Well done!

You are welcome … !