Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

415 Unsupported Media Type

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
php, wordpress
Lĩnh vực
api, web-dev

Hướng nghiên cứu

Start by reproducing the request from the WordPress plugin against a self-hosted OpenPanel instance and inspect where the application/x-www-form-urlencoded request is assembled. Compare the plugin request with the endpoint's accepted media types. Done means the view-tracking request is accepted without the reported 415 error, with a reproducible test or documented compatibility result.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi,
I installed the wordpress plugin to track views on my website.

Currently requests to the selfhosted openpanel instance are failing with this error

{
  "status": "415",
  "error": {
    "code": "FST_ERR_CTP_INVALID_MEDIA_TYPE",
    "name": "FastifyError",
    "statusCode": 415,
    "message": "Unsupported Media Type: application/x-www-form-urlencoded"
  },
  "message": "Unsupported Media Type: application/x-www-form-urlencoded"
}

The request is not reaching the openpanel instance.

Is this a bug in the plugin or with the selfhosted instance?

Kind regards
Thomas

Ngôn ngữ chính
PHP
Star
1
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.