litellm - 💡(How to fix) Fix [Bug]: Service must be in list - S3 callback does not work [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#26770Fetched 2026-04-30 06:20:13
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2renamed ×1

Error Message

10:46:07 - LiteLLM Proxy:ERROR: _health_endpoints.py:465 - litellm.proxy.proxy_server.health_services_endpoint(): Exception occured - 400: {'error': "Service must be in list. Service=s3 not in typing.Union[typing.Literal['slack_budget_alerts', 'langfuse', 'langfuse_otel', 'slack', 'openmeter', 'webhook', 'email', 'braintrust', 'datadog', 'datadog_llm_observability', 'generic_api', 'arize', 'sqs'], str]"}

Fix Action

Fix / Workaround

main-v1.83.7-stable.patch.1

Code Example

10:46:07 - LiteLLM Proxy:ERROR: _health_endpoints.py:465 - litellm.proxy.proxy_server.health_services_endpoint(): Exception occured - 400: {'error': "Service must be in list. Service=s3 not in typing.Union[typing.Literal['slack_budget_alerts', 'langfuse', 'langfuse_otel', 'slack', 'openmeter', 'webhook', 'email', 'braintrust', 'datadog', 'datadog_llm_observability', 'generic_api', 'arize', 'sqs'], str]"}
RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

I cannot use S3 callbacks - they don't work in "test callback" nor in standard operation mode.

Steps to Reproduce

  1. Run LiteLLM proxy via Docker
  2. Settings -> Logging & Alerts -> Callbacks -> Add callback
  3. Select S3, fill in credentials (I'm using Session Token too)
  4. Save
  5. Click Test callback button
<img width="2543" height="516" alt="Image" src="https://github.com/user-attachments/assets/dd083e13-10c4-44e1-b6ac-5813039ed54d" />

For context: I added a custom webhook callback to see if it works at all - and indeed my webhook does receive the callback, so it's most def S3 integraiton that is broken.

Relevant log output

10:46:07 - LiteLLM Proxy:ERROR: _health_endpoints.py:465 - litellm.proxy.proxy_server.health_services_endpoint(): Exception occured - 400: {'error': "Service must be in list. Service=s3 not in typing.Union[typing.Literal['slack_budget_alerts', 'langfuse', 'langfuse_otel', 'slack', 'openmeter', 'webhook', 'email', 'braintrust', 'datadog', 'datadog_llm_observability', 'generic_api', 'arize', 'sqs'], str]"}

What part of LiteLLM is this about?

Proxy

What LiteLLM version are you on ?

main-v1.83.7-stable.patch.1

Twitter / LinkedIn details

No response

extent analysis

TL;DR

The S3 callback issue may be due to the service not being recognized in the allowed list, and modifying the service list or updating the LiteLLM version might resolve the issue.

Guidance

  • The error message indicates that the s3 service is not in the list of allowed services, suggesting a potential issue with the service configuration or version compatibility.
  • Verify that the s3 service is supported in the current LiteLLM version (main-v1.83.7-stable.patch.1) and check for any updates or patches that may include S3 support.
  • Check the health_services_endpoint function in _health_endpoints.py to see if the s3 service can be manually added to the allowed list, although this may require code modifications.
  • Consider reaching out to the LiteLLM community or support team for further assistance, as the issue may be specific to the version or configuration being used.

Notes

The provided log output and error message suggest a specific issue with the s3 service not being recognized, but without further information about the LiteLLM version or configuration, it's difficult to provide a more detailed solution.

Recommendation

Apply workaround: The best course of action would be to try updating the LiteLLM version or modifying the service list, if possible, to include the s3 service, as the current version may not support it.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Service must be in list - S3 callback does not work [1 participants]