You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Torii is not able to serve certain model and leads to gRPC returning this error, this is also specific to the entity so all works well if the specific entity is not fetched Parsing error: EOF while parsing a value at line 1 column 0
and graphql returning this
"Parsing error: EOF while parsing a value at line 1 column 0"
playground: { "jsonrpc": "2", "id": 1, "error": { "code": -32000, "message": "{\"jsonrpc\":\"2\",\"id\":1,\"error\":{\"code\":-32000,\"message\":\"received 500 from origin with empty body\"}}" } }
The models do correctly get filled in the database so this is an issue with the serving side
From the error being "encountered unexpected or invalid data: JSON parse error: EOF while parsing a value at line 1 column 0" its possible the error might be due to the json format being an array and not an object eg:
Torii is not able to serve certain model and leads to gRPC returning this error, this is also specific to the entity so all works well if the specific entity is not fetched
Parsing error: EOF while parsing a value at line 1 column 0
and graphql returning this
"Parsing error: EOF while parsing a value at line 1 column 0"
playground:
{ "jsonrpc": "2", "id": 1, "error": { "code": -32000, "message": "{\"jsonrpc\":\"2\",\"id\":1,\"error\":{\"code\":-32000,\"message\":\"received 500 from origin with empty body\"}}" } }
The models do correctly get filled in the database so this is an issue with the serving side
We currently think that to replicate the error you need a Model or an Event with an array of a struct and that struct also contains an array (nested arrays)
currently these two models are thought to be creating this behaviour
https://github.com/Provable-Games/ls-tournaments/blob/57822b40b4fce0a8dcf05e9afc4654cb9bbbdb5d/contracts/src/ls15_components/models/tournament.cairo#L74
https://github.com/grugslair/blob-arena-contracts/blob/dev/src/attacks/results.cairo#L4
this issue is being talked about here
https://discord.com/channels/1062934010722005042/1114312181480173689/1325855964066480179
Currently happening on version 1.0.8
The text was updated successfully, but these errors were encountered: