[Improvement] Provide More Meaningful Error Messages for API Deployment Failures in API Portal
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, nodejs
- Lĩnh vực
- api, developer-experience
Hướng nghiên cứu
The payload names apiPortalRouter.js (around line 152, where API metadata creation starts) and task_queues (around line 262, where the 'Subscription plan not found' error is logged). Start by finding where the task queue error is turned into the generic RESOURCE_NOT_FOUND response returned to the client. Done means a failed publish returns a message that names the missing subscription plan, and the error shape stays consistent.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Please select the area the issue is related to
Developer Portal
Please select the aspect the issue is related to
Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)
Suggested Improvement
When trying to publish an API to the API Portal, the request fails with the following error:
{
"status": "error",
"code": "RESOURCE_NOT_FOUND",
"message": "Resource Not Found",
"errors": []
}
However, when checking the API Portal logs, we can see that the API deployment fails because the configured subscription plans cannot be found:
[2026-11-20 09:42:43][info][apiPortalRouter.js:152] Creating API metadata... {"orgId":"xxxxxxxx"}
[2026-11-20 09:42:43][error][task_queues:262] API metadata creation failed {"error":"Subscription plan not found","orgId":"xxxxxxxx"}
NotFoundError: Subscription plan not found
Please improve the error message to reflect the actual error.
Related Issues
No response
- Ngôn ngữ chính
- Go
- Star
- 85
- Fork
- 142
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 255
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
wso2/api-platform#4468 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Policies Aspect/API Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
wso2/api-platform#4465 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsCó thể đã có người làm @Maheesh09 đã nhận 1 ngày trước. Đang mởArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wso2/api-platform#4437 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
wso2/api-platform#4369 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsĐang mởArea/Policies Aspect/Other Severity/Trivial Type/Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
wso2/api-platform#4355 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wso2/api-platform
Issue tương tự
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentCó thể đã có người làm @cvas22 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
influxdata/telegraf#20264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameĐang mởaccepted bug wg/enterprise-environment
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/semantic-router#7483 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
stacklok/toolhive-catalog#2076 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vulncheck or vulndb
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
golang/go#83428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
gke-labs/kube-agents#7441 ·
Maintainer thường phản hồi trong vòng 1 ngày