Skip to content

Error from sandbox: [bad_request] python-3.14.4 runtime is unknown #8

Description

@luis-silva-idb

Hi,

Looking for guidance here as I might be doing something wrong...

Tried the same prompt from the introduction video available here: https://www.librechat.ai/docs/features/code_interpreter#introduction

Create a fictional dataset for a small store's sales data over a 30-day period. The dataset should include the following columns: Date (for each day in the period), Product, Quantity, Price per Unit, and Total Sales. Include a variety of products with different prices.

Once the dataset is created, perform the following data analysis tasks:

Calculate the total sales revenue generated over the month.
Identify the best-selling product based on total sales.
Compute the average sales per day.
Create a plot showing the trend of sales over the month.

Provide the Python code for each step, including data generation, calculations, and plotting. Assume you are using libraries such as pandas, numpy, and matplotlib for this task. also make sure to save the data as a csv

My LibreChat .env file has the following configured:

LIBRECHAT_CODE_BASEURL=http://host.docker.internal:3112/v1
LIBRECHAT_CODE_API_KEY=507588(...)bc5c21

My CodeInterpreter has the following configured:

SANDBOX_ACCESS_TOKEN=507588(...)bc5c21

When running the prompt from LibreChat, I get the following error on the CodeInterpreter API:

api               | {"level":"error","message":"[fZfuK_al0-dmDbFWE2Fmy] Session ID: g7F-esjgiAZJEEteYNfKB | User ID: 68e4db9264e2808479086840 | Error during execution: Error from sandbox: [bad_request] python-3.14.4 runtime is unknown","service":"service-api","stack":"Error: Error from sandbox: [bad_request] python-3.14.4 runtime is unknown\n    at G (/app/.build-api/api-server.js:467:32026)\n    at emit (node:events:98:22)\n    at emit (/app/.build-api/api-server.js:8353:1478)\n    at consumeEvents (/app/.build-api/api-server.js:8353:11094)\n    at async run (/app/.build-api/api-server.js:8353:10470)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-06-26T14:00:24.034Z"}

I'm running both LibreChat and CodeInterpreter through Docker Desktop with WSL2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions