Important Update: Some Community URL Redirects are Under Maintenance. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

OData Character Limit?

Anonymous
Not applicable

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!

1 REPLY 1

Anonymous
Not applicable

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"
}
]
}
]