Código OUT_OF_RANGE · Problema informado por Google APIs / gRPC.
Explicación traducida
La operación se intentó más allá del rango válido. Por ejemplo, buscar o leer más allá del final del archivo. A diferencia de `INVALID_ARGUMENT`, este error indica un problema que puede solucionarse si cambia el estado del sistema. Por ejemplo, un sistema de archivos de 32 bits generará `INVALID_ARGUMENT` si se le solicita leer en un desplazamiento que no está en el rango [0,2^32-1], pero generará `OUT_OF_RANGE` si se le solicita leer desde un desplazamiento posterior al tamaño del archivo actual. Existe bastante superposición entre "FAILED_PRECONDITION" y "OUT_OF_RANGE". Recomendamos usar `OUT_OF_RANGE` (el error más específico) cuando se aplique para que las personas que llaman y están iterando a través de un espacio puedan buscar fácilmente un error `OUT_OF_RANGE` para detectar cuando hayan terminado. Mapeo HTTP: 400 solicitudes incorrectas
Google Translate · Esta es una traducción automática. Consulte el original en inglés para comprobar los términos técnicos y las condiciones aplicables.
Explicación oficial · Texto original
The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request
Enlaces de solución de problemas y diagnóstico
Compruebe primero que el producto, la versión y el entorno del documento coincidan con su situación.
Autor: Google LLC Licencia: Apache License 2.0 Fecha de verificación: 2026-11-12
Modificaciones: Extracted enum names, numeric aliases, and official source comments; comment syntax removed; original Korean contexts added. Successful OK is labeled status, not error. Las explicaciones traducidas están identificadas como traducciones automáticas.