code: def __init__(self, client_ctx, params: Optional[dict] = None, **ctx):
      for error in (params or {}).get("errors", []):
          current_level = client_ctx
          for loc in error["loc"]:
              new_value = None
              try:
                  new_value = current_level[loc]
              except KeyError:
                  pass
              if new_value is None:
                  break
              if hasattr(new_value, "dict"):
                  new_value = new_value.dict()
              current_level = new_value
          error["value"] = current_level
  
      # TODO: parse error details and match with client context
      super().__init__(**ctx, params=params)
  
imports: from typing import Any, Optional
  import httpx
label_desc: Use image node_id 1 to create a new ValidationApiError object from inherited base classes: ArApiResponseError with example: obj = ValidationApiError(client_ctx, params)