ข้ามไปเนื้อหา

HTTP 422

api_key_required

Api key required

เกิดอะไรขึ้น

This provider needs an API key before it can be enabled

อ่านรายละเอียดของคำขอได้จาก error.message หรือ detail โดย HTTP status อาจต่างกันตาม endpoint

วิธีแก้

ตรวจ message หรือ detail และข้อกำหนดของ endpoint แล้วแก้ข้อมูลก่อนลองใหม่

ตัวอย่าง response

JSON · ตัวอย่าง response
{
  "error": {
    "code": "api_key_required",
    "message": "This provider needs an API key before it can be enabled",
    "requestId": "0123456789abcdef0123456789abcdef"
  }
}

ข้อมูลจำลอง · ค่า message และ Request ID เปลี่ยนตามคำขอ ดูรูปแบบ RFC 9457

ยังแก้ไม่ได้?

ส่งรหัส api_key_required พร้อม Request ID และเวลาที่เกิดปัญหาให้ทีม ไม่ต้องส่งข้อมูลลับหรือเนื้อหาไฟล์