With HTTP 400 errors, there is typically no stack trace in the log. But there 
should be an error message sent by the server along with the HTTP 400 response, 
and I don’t see it included in the error output reported below. The message 
should be accessible by opening the Developer Tools in the browser and finding 
the response with a 400 status code on the Sources tab.

Richard


> On 5 Jul 2023, at 20:22, Holger Knublauch <hol...@topquadrant.com> wrote:
> 
> Hi, 
> 
> would you mind submitting this scenario to the Support Portal (TSM)? The 
> errors that you mention do not ring a bell to me, but it may require a look 
> over your shoulder. When you resubmit it, could you also check if there is 
> anything in the server/java log? I would expect some Exception stack traces 
> there...
> 
> Thanks
> Holger
> 
> 
>> On 5 Jul 2023, at 3:02 pm, 'Tomasz' via TopBraid Suite Users 
>> <topbraid-users@googlegroups.com> wrote:
>> 
>> 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.
>> 
>> -- 
>> The topics of this mailing list include TopBraid EDG and related 
>> technologies such as SHACL.
>> To post to this group, send email to topbraid-users@googlegroups.com
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "TopBraid Suite Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to topbraid-users+unsubscr...@googlegroups.com 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/a49fe384-d548-4870-822d-df01a2732404n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/a49fe384-d548-4870-822d-df01a2732404n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> To post to this group, send email to topbraid-users@googlegroups.com
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-users+unsubscr...@googlegroups.com 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/9B7C17CE-9781-46AB-A8B1-4F14BEB93523%40topquadrant.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/9B7C17CE-9781-46AB-A8B1-4F14BEB93523%40topquadrant.com?utm_medium=email&utm_source=footer>.

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/BBEF38CF-2513-4E4C-8054-B6E3599809CE%40topquadrant.com.

Reply via email to