to get a personalized navigation.
to get a personalized navigation.
Hi!
Since the maintenance yesterday, we have started getting "Error: Illegal query.Illegal query" for many of our queries.
The same problem happened last week, but was resolved after it was posted about on https://status.visma.com.
Example queries we're running that we're running into problems with:
query ListOrders($cid: Int!, $filter: FilterExpression_Order!) {
useCompany(no: $cid) {
order(
filter: $filter,
sortOrder: {orderNo: DESC}) {
totalCount
items {
orderNo
yourReference
customerOrSupplierOrderNo
orgUnit1
orgUnit2
orgUnit3
orgUnit4
orgUnit5
orgUnit6
invoiceNo
information1
information2
orderSumGrossInCurrency
createdDate
joinup_Associate_via_Customer {
name
}
joindown_OrderLine_via_Order {
items {
description
}
}
}
}
}
}
Variables:
{
"cid": xxxxxxx,
"filter":{
"customerNo":{
"_eq":13
},
"invoiceNo":{
"_eq":""
},
"_and":[
{
"information1":{
"_not_eq":"PRICEQUERY"
}
},
{
"information1":{
"_not_like":"RECEIPT:%"
}
},
{
"information3":{
"_not_like":"RECEIPT:%"
}
}
],
"_or":[
{
"orderType":{
"_eq":1
}
},
{
"orderType":{
"_eq":3
}
}
]
}
}
Example 2:
query GetAllOrgUnit2($cid: Int!) {
useCompany(no: $cid) {
orgUnit2 {
totalCount
items {
orgUnit2No
customerNo
information1
name
group2
orgUnit1
orgUnit3
orgUnit4
orgUnit5
orgUnit6
orgUnit7
orgUnit8
orgUnit9
orgUnit10
orgUnit11
orgUnit12
actualStartDateAsDate
actualEndDateAsDate
}
}
}
}
Hopefully this is resolved and is not a recurring problem, because it is very inconvenient when trying to query info.
Best regards,
Filip
Solved! Go to Solution.
@filip-yabieenterprise, unfortunately we had a little mishap today and the wrong version of the GraphQL service was deployed to production at around 12:30. It is reverted and everything should be working now. Sorry for the inconvenience.
Kind regards,
Arnstein
Copyright © 2022 Visma.com. All rights reserved.