Hello.
Until recent one of our application mechanisms relied on the complexity exception message looking like this:
{
error_code: 'ComplexityException',
status_code: 429,
error_message: 'Complexity budget exhausted, query cost 30001 budget remaining 1772 out of 1000000 reset in 15 seconds',
error_data: {},
errors: [
'Complexity budget exhausted, query cost 30001 budget remaining 1772 out of 1000000 reset in 15 seconds'
],
account_id: 12787730
}
But now the error looks like this:
{
"errors": [
"Complexity budget exhausted, query cost 517020 budget remaining 176620 out of 10000000 reset in 42 seconds"
],
"error_code": "complexityBudgetExhausted",
"status_code": 429,
"account_id": 12787730
}
As you can see the error_code is different and the redundant error_message is gone.
Was that change announced anywhere? We haven’t made any API version switch, luckily we’ve noticed the changed error response in the logs.