Failed to export batch code: 204, reason: Failed to export batch code: 204, reason: #6030
Replies: 3 comments 1 reply
-
The error "Failed to export batch code: 204" occurs because Phoenix was incorrectly returning a 204 No Content status code instead of the required 200 OK status code for successful OTLP trace exports. This issue has been resolved in Phoenix PR #5962. You might want to update your Phoenix package to the latest version where this issue is fixed. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu, upgraded the packages to latest still getting the same error |
Beta Was this translation helpful? Give feedback.
-
Hey @bhavya-giri, thanks for using Phoenix, and sorry you're hitting this issue. Can you tell me more about your deployment, in particular, what version of Phoenix are you using client-side and server-side, are you running with Docker, etc.? |
Beta Was this translation helpful? Give feedback.
-
from phoenix.otel import register
from openinference.instrumentation.llama_index import LlamaIndexInstrumentor
tracer_provider = register(
project_name="default", endpoint="my-url"
)
LlamaIndexInstrumentor().instrument(tracer_provider=tracer_provider)
Beta Was this translation helpful? Give feedback.
All reactions