6 views
-/https://github.com/berriai/litellm/issues/30314
GitHub · issue

#30314 [Bug]: Malformed input request: #: extraneous key [cache_control_injection_points] is not permitted

  • State: open
  • Author: @ladrians
  • Labels: bug, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

I have this curl

``` curl --location 'http://0.0.0.0:4000/v1/embeddings' \ --header 'Content-Type: application/json' \ --data '{ "model": "awsbedrock/amazon.titan-embed-image-v1", "input" : [ "Help me !" ] }' ```

Returns the following error

``` litellm.BadRequestError: BedrockException - {\"message\":\"Malformed input request: #: extraneous key [cache_control_injection_points] is not permitted, #: required key [requests] not found, #: extraneous key [cache_control_injection_points] is not permitted, #: extraneous key [inputText] is not permitted, please reformat your input and try again.\"} LiteLLM Retried: 2 times LiteLLM Retried: 2 times ```

### Steps to Reproduce

Execute the same sample using the awsbedrock amazon.titan-embed-image-v1 embeddings model

### Relevant log output

```shell

```

### What part of LiteLLM is this about?

Proxy

### What LiteLLM version are you on ?

1.88.0

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d18h23m4s ago — entered · #import:https:::github.com:berriai:litellm post #2459
30314 requires tracing and correcting provider-specific embedding request construction and shared proxy transformations, with compatibility and regression risks; 28001 is a narrower response-model normalization fix for non-integer usage values.
#0 of 0 · 31d18h15m28s ago — current · #import:https:::github.com:berriai:litellm post #2583
#31008 requires tracing and safely separating health-check parameter mutation from real-request semantics across proxy, OpenRouter translation, stored model configuration, and background-check behavior, with broader regression coverage. #30314 is comparatively localized to request construction and validation for a specific Bedrock embedding path.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search