I’m using the API Explorer and entered two queries, like this:
query a {
postsList {
items {
id
description
content
}
}
}
query b {
postsList {
items {
description
}
}
}
When I try to execute any query, I receive an error message:
Invariant Violation: Invariant Violation
at new t (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1174683)
at u (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1174823)
at g (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1179058)
at m (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1179095)
at M (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1179435)
at e.watchQuery (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1779017)
at https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1779532
at new Promise (<anonymous>)
at e.query (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1779498)
at e.query (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1793541)
at https://app.8base.com/static/js/main.6a1b61d5.chunk.js:1:221889
at n.value (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:5889244)
at n.T.handleRunQuery (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:5891304)
at n.value (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:5890009)
at Object.T.handleEditorRunQuery [as onRunQuery] (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:5892827)
at Cmd-Enter (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:5911247)
at $i (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1108798)
at https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109710
at Bi (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1099802)
at https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109285
at na (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109343)
at ta (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109111)
at ra (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109682)
at _a.ia (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1109889)
at HTMLTextAreaElement.<anonymous> (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1054818)
at HTMLTextAreaElement.r (https://app.8base.com/static/js/51.3e9b2f30.chunk.js:1:1375713)
When the API Explorer only contains one query, it executes as expected.