Skip to content

Artifacts 报400错误。 #25

@gg-2020

Description

@gg-2020

报错如下:2025/12/04 06:54:50 factory.go:28: [ERROR]PluginDaemonInternalServerError: {"args":{},"error_type":"Exception","message":"invoke app failed: request failed with status code: 400 and respond with: {"code":"invalid_param","message":"query is required in input form","status":400}\n"}goroutine 5227 [running]:
2025-12-04 14:54:50
runtime/debug.Stack()
2025-12-04 14:54:50
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
2025-12-04 14:54:50
github.com/langgenius/dify-plugin-daemon/internal/types/exception.InternalServerError({0x29cd920, 0xc00109b560})
2025-12-04 14:54:50
/app/internal/types/exception/factory.go:27 +0x27
2025-12-04 14:54:50
github.com/langgenius/dify-plugin-daemon/internal/service.Endpoint(0xc002661700, 0xc000170840, 0xc000a72000, 0x8bb2c97000, {0xc006cbb6f8?, 0x0?})
2025-12-04 14:54:50
/app/internal/service/endpoint.go:176 +0xaa5
2025-12-04 14:54:50
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).EndpointHandler(0xc00019ab88, 0xc002661700, {0xc006cbb6e8, 0x10}, 0x8bb2c97000, {0xc006cbb6f8, 0x9})
2025-12-04 14:54:50
/app/internal/server/endpoint.go:99 +0x579
2025-12-04 14:54:50
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).endpointGroup.(*App).Endpoint.func2(0xc002661700)
2025-12-04 14:54:50
/app/internal/server/endpoint.go:41 +0x12a
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Context).Next(0xc002661700)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 +0x2b
2025-12-04 14:54:50
github.com/langgenius/dify-plugin-daemon/internal/server.(*App).server.CollectActiveRequests.func3(0x0?)
2025-12-04 14:54:50
/app/internal/server/controllers/health_check.go:20 +0x25
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Context).Next(...)/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
2025-12-04 14:54:50
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc002661700)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102 +0x6f
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Context).Next(...)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
2025-12-04 14:54:50
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc002661700)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249 +0xe5
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Context).Next(...)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0000fe680, 0xc002661700)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 +0x892
2025-12-04 14:54:50
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0000fe680, {0x29fd3b0, 0xc0001fa2a0}, 0xc0003f3680)
2025-12-04 14:54:50
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 +0x1b2
2025-12-04 14:54:50
net/http.serverHandler.ServeHTTP({0x29ef7a8?}, {0x29fd3b0?, 0xc0001fa2a0?}, 0x6?)
2025-12-04 14:54:50
/usr/local/go/src/net/http/server.go:3210 +0x8e
2025-12-04 14:54:50
net/http.(*conn).serve(0xc0007ea360, {0x2a01d38, 0xc0007ff290})
2025-12-04 14:54:50
/usr/local/go/src/net/http/server.go:2092 +0x5d0
2025-12-04 14:54:50
created by net/http.(*Server).Serve in goroutine 46
2025-12-04 14:54:50
/usr/local/go/src/net/http/server.go:3360 +0x485

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions