You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have this BytesResponse from a bulk-operation, where Success = true:
Successful (200) low level call on POST: /_bulk
{
"took":0,
"errors":true,
"items":[{"index":{"_index":"logstash-2021.07.12","_type":"_doc","_id":"OTgmmnoBq3Eup03vE24t","status":403,"error":{"type":"security_exception","reason":"action [indices:data/write/bulk[s]] is unauthorized for API key id [NzgjmnoBq3Eup03vg25H] of user [elastic] on indices [logstash-2021.07.12], this action is granted by the index privileges [create_doc,create,delete,index,write,all]"}
Right now ApiCallDetails has these fields, when none of them tells that something failed:
Have this
BytesResponse
from a bulk-operation, whereSuccess = true
:Right now ApiCallDetails has these fields, when none of them tells that something failed:
Would like something similar to
DeprecationWarnings
, but where the HttpHeader signals one (or more) items failed:Maybe also use the "Warning"-part to also signal that "One ore more items with errors", when no other "deprecated warnings".
Then one can react on
DeprecationWarnings
being non-empty and then deserialize the entire response, to reveal the actual issue(s).The text was updated successfully, but these errors were encountered: