Hello Everyone,
recently we noticed that we cannot use Files menu on our instance of TopBraid due to some strange GraphQL errors. Therefore we decided to install everything from a very beginning and unfortunately they are still visible.
Did anyone meet something like that?
If I go to Files, edit any file and click on class on class hierarchy tab I get:
Error(s):
{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at module.exports (https://xxx.com/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:845771)\n at module.exports (https://xxx.com/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:850104)\n at XMLHttpRequest.onloadend (https://xxx.com/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:836776)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"method":"post","url":"graphql/file_apis_ui_ttlx/%3Chttp%3A%40%40%40%40%40%40datashapes.org%40%40%40dash%23ActionGroup%3E?message=Get_GraphQL_info_for_class_Action_group","data":"{\"query\":\"query getGraphQLInfo {\\n _typeShapeByURI(uri: \\\"http://datashapes.org/dash#ActionGroup\\\") {\\n rootQueryField\\n }\\n }\"}"},"status":400}
Query: query getGraphQLInfo {
_typeShapeByURI(uri: "http://datashapes.org/dash#ActionGroup") {
rootQueryField
}
}
Service URL: graphql/file_apis_ui_ttlx/%3Chttp%3A%40%40%40%40%40%40datashapes.org%40%40%40dash%23ActionGroup%3E?message=Get_GraphQL_info_for_class_Action_group
or if I go to Local Assets tab immediately I receive similar error:
Error(s):
{"message":"Request failed with status code 400","name":"Error","stack":"Error: Request failed with status code 400\n at module.exports (https://xxx/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:845771)\n at module.exports (https://xxx/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:850104)\n at XMLHttpRequest.onloadend (https://xxx/edg/tbl/lib/7.6.1.v20230615-1615/assets/build/vendors.bundle.js:2:836776)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"method":"post","url":"graphql/file_apis_ui_ttlx/%3Chttp%3A%40%40%40%40%40%40www.w3.org%40%40%402000%40%40%4001%40%40%40rdf-schema%23Resource%3E?message=Get_instances_of_Asset","data":"{\"query\":\"query getInstances {\\n resources(first: 1000 filter: \\\"(!<http://topbraid.org/swa#isImportedResource>($this) && isIRI($this))\\\" ) {\\n label\\n uri\\n type {\\n label\\n uri\\n }\\n }\\n }\"}"},"status":400}
Query: query getInstances {
resources(first: 1000 filter: "(!<http://topbraid.org/swa#isImportedResource>($this) && isIRI($this))" ) {
label
uri
type {
label
uri
}
}
}
Service URL: graphql/file_apis_ui_ttlx/%3Chttp%3A%40%40%40%40%40%40www.w3.org%40%40%402000%40%40%4001%40%40%40rdf-schema%23Resource%3E?message=Get_instances_of_Asset
It is really strange that we have such problems on instance where we just don't have anything yet set up. In logs I don't see anything either.
Best Regards,
Tomasz.