cancel
Showing results for 
Search instead for 
Did you mean: 

OData Character Limit?

DougCampbellBTS
Collaborator II

Hopefully a quick question...does anyone know if there is a character limit when sending odata info via body to Archer REST API? Hoping to proactively avoid a potential problem.

 

Thanks!

**INACTIVE ACCOUNT - Please contact doug@evalto.com ***
1 REPLY 1

DougCampbellBTS
Collaborator II

Yes, there's a limit of 100 "nodes", but apparently can be increased. 

 

[
{
"Links": [
],
"RequestedObject": {
},
"IsSuccessful": false,
"ValidationMessages": [
{
"Reason": "WebApi:WebApiOdataValidationExceptionReason",
"Severity": 3,
"MessageKey": "WebApi:WebApiOdataValidationException",
"Description": "The node count limit of '100' has been exceeded. To increase the limit, set the 'MaxNodeCount' property on EnableQueryAttribute or ODataValidationSettings.",
"Location": -1,
"ErroredValue": null,
"Validator": "ArcherTech.Web.Api.OData.Validators.ODataQueryOptionValidator, ArcherTech.Web.Api.OData, Version=6.8.301.1001, Culture=neutral, PublicKeyToken=null",
"XmlData": null,
"ResourcedMessage": "OData query validation failed"
}
]
}
]
**INACTIVE ACCOUNT - Please contact doug@evalto.com ***