      """
      Descend into a nested data structure, forcing any
      lazy translation strings or strings into `ErrorDetail`.
      """
      if isinstance(data, list):
          ret = [
              _get_error_details(item, default_code) for item in data
          ]
          if isinstance(data, ReturnList):
              return ReturnList(ret, serializer=data.serializer)
 
</s> remove         if not isinstance(detail, dict) and not isinstance(detail, list):
 </s> add         if isinstance(detail, tuple):
            detail = list(detail)
        elif not isinstance(detail, dict) and not isinstance(detail, list):
    if isinstance(data, (list, tuple)):
      """
      Descend into a nested data structure, forcing any
      lazy translation strings or strings into `ErrorDetail`.
      """
    if isinstance(data, (list, tuple)):
          ret = [
              _get_error_details(item, default_code) for item in data
          ]
          if isinstance(data, ReturnList):
              return ReturnList(ret, serializer=data.serializer)
keep keep keep keep replace keep keep keep keep keep
 Handle tuples same as lists in ValidationError detail context (#7647) 
rest_framework/exceptions.py