HTTP 415
content_ type
Content type
เกิดอะไรขึ้น
JSON required
อ่านรายละเอียดของคำขอได้จาก error.message หรือ detail โดย HTTP status อาจต่างกันตาม endpoint
วิธีแก้
ตรวจ message หรือ detail และข้อกำหนดของ endpoint แล้วแก้ข้อมูลก่อนลองใหม่
ตัวอย่าง response
JSON · ตัวอย่าง response
{
"error": {
"code": "content_type",
"message": "JSON required",
"requestId": "0123456789abcdef0123456789abcdef"
}
}ข้อมูลจำลอง · ค่า message และ Request ID เปลี่ยนตามคำขอ ดูรูปแบบ RFC 9457
ยังแก้ไม่ได้?
ส่งรหัส content_type พร้อม Request ID และเวลาที่เกิดปัญหาให้ทีม ไม่ต้องส่งข้อมูลลับหรือเนื้อหาไฟล์