A request with no X-Amz-Target and no Authorization gets MissingAuthenticationToken, where DynamoDB answers UnknownOperationException
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 84/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- backend-api-design
Línea de trabajo
Lee extract_operation en crates/server/src/request_helpers.rs y la prueba unitaria missing_target_no_auth_returns_missing_auth_token. Compara el comentario del código y la prueba con la respuesta de DynamoDB medida en este issue. La tarea estará terminada cuando el comentario y la prueba reflejen el comportamiento reportado de UnknownOperationException para una solicitud sin ninguno de los dos encabezados.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Amazon DynamoDB answers a POST with no X-Amz-Target header and no Authorization header with UnknownOperationException and no message. ExtendDB answers MissingAuthenticationToken.
Measured in us-east-1 on 21 Nov 2026 with a POST to / with the Content-Type application/x-amz-json-1.0, the body {"Limit": 1}, and neither header. The request went out twice and got the same answer both times. The ExtendDB column is SQLite at f0170bde8.
| Part of the answer | DynamoDB | ExtendDB |
|---|---|---|
| Status | 400 | 400 |
| Body | {"__type":"com.amazon.coral.service#UnknownOperationException"} |
{"__type":"com.amazon.coral.service#MissingAuthenticationToken","message":"Missing Authentication Token"} |
X-Amz-Crc32 |
1368724161 | 2747205903 |
extract_operation in crates/server/src/request_helpers.rs (lines 21 to 30) answers MissingAuthenticationToken when the request has neither header, and UnknownOperationException when it has an Authorization header but no X-Amz-Target. Its comment says that DynamoDB answers MissingAuthenticationToken when the auth headers are absent too. The measurement above contradicts that sentence. The unit test missing_target_no_auth_returns_missing_auth_token pins the current answer.
The fix for #1075 changes ExtendDB's body for this request to the new type and message of that error. It does not change which error this request gets.
- Lenguaje dominante
- Rust
- Estrellas
- 517
- Forks
- 60
- Merge medio
- 4 d 23 h
- PR fusionados (30 d)
- 134
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ExtendDB/extenddb
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 5 días
-
Cassandra: destroy lists no catalog table before --yes, because Cassandra refuses the listing queryAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 5 días
Todos los issues de ExtendDB/extenddb
Issues similares
-
Declare the CMS schema library in the optional recipients extraPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:python in-progress
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
yhay81/pyropdf#1005 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
auth-security bug contracts
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 2 días
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug trading ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
userFRM/egui-charts#3923 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día