[BUG] /v1/chat/completions returns 500 with "Authorization extension not found" (axum) — affects all models since 2026-09-04

NVIDIA-NIM-500-bug-report

NVIDIA NIM /v1/chat/completions returns 500 with “Authorization extension not found” for all models

Summary

All POST requests to

https://integrate.api.nvidia.com/v1/chat/completions

return HTTP 500 with the message:

Missing request extension: Extension of type `headers::common::authorization::Authorizationheaders::common::authorization::Bearer` was not found. Perhaps you forgot to add it? See `axum::Extension`.

​

GET

/v1/models

works fine (200), so this is isolated to the chat completions route.

Affected

All models (verified with

moonshotai/kimi-k3

, but other endpoints show the same pattern)

Both

stream: true

and

stream: false

Both simple-string and multimodal-array

messages[].content

formats

Multiple successive requests (not a transient timeout)

Steps to reproduce

curl -X POST https://integrate.api.nvidia.com/v1/chat/completions \ -H “Authorization: Bearer $NVIDIA_API_KEY” \ -H “Content-Type: application/json” \ -d ‘{ “model”: “moonshotai/kimi-k3”, “messages”: [{“role”:“user”,“content”:[{“type”:“text”,“text”:“hi”}]}], “max_tokens”: 64, “stream”: false, “reasoning_effort”: “low” }’

​

Observed response

HTTP 500

{ “type”:“InternalServerError”, “message”:“Missing request extension: Extension of type `headers::common::authorization::Authorizationheaders::common::authorization::Bearer` was not found. Perhaps you forgot to add it? See `axum::Extension`.” }

​

Expected

HTTP 200 with a chat completion payload.

Environment

Tested on 2026-09-04, multiple times over ~1 hour, all 500

Same key, same network —

/v1/models

GET works

Looks like the axum

Authorization

extractor is missing from the chat completions router (compile-time or deploy-time regression)

Reference

This appears to be a server-side regression, not account-specific (confirmed across multiple models)

Possibly related to ongoing issues reported on these forums (504 / 404 / 500 patterns recur over the past months)

Submitted from Shanghai, China. Account has been working for months on other NIM models; this started today for

moonshotai/kimi-k3

.

If you don’t know how to structure your writing, just don’t post.