Importing a function downloaded from the community results in a 422 error #1705

Closed
opened 2025-11-11 14:50:30 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @czqczqcg on GitHub (Aug 7, 2024).

Bug Report

Description

Bug Summary:
Importing a function downloaded from the community results in a 422 error.

Steps to Reproduce:
go to the workspace/functions page, then import a function downloaded from the community

Expected Behavior:
Upload successful

Actual Behavior:
"POST /api/v1/functions/create HTTP/1.1" 422 Unprocessable Entity

Environment

  • Open WebUI Version: v0.3.11

  • Ollama (if applicable): 0.3.3

  • Operating System: windows 10

  • Browser (if applicable): chrome

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Docker Container Logs:
"POST /api/v1/functions/create HTTP/1.1" 422 Unprocessable Entity

Installation Method

Docker
3

Originally created by @czqczqcg on GitHub (Aug 7, 2024). # Bug Report ## Description **Bug Summary:** Importing a function downloaded from the community results in a 422 error. **Steps to Reproduce:** go to the workspace/functions page, then import a function downloaded from the community **Expected Behavior:** Upload successful **Actual Behavior:** "POST /api/v1/functions/create HTTP/1.1" 422 Unprocessable Entity ## Environment - **Open WebUI Version:** v0.3.11 - **Ollama (if applicable):** 0.3.3 - **Operating System:** windows 10 - **Browser (if applicable):** chrome ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. ## Logs and Screenshots **Docker Container Logs:** "POST /api/v1/functions/create HTTP/1.1" 422 Unprocessable Entity ## Installation Method Docker ![3](https://github.com/user-attachments/assets/446cce33-c734-42aa-90b9-85f2cfd4b462)
Author
Owner

@justinh-rahb commented on GitHub (Aug 7, 2024):

It would help to know which function failed to import.

@justinh-rahb commented on GitHub (Aug 7, 2024): It would help to know **which** function failed to import.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1705