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

HTTP 422

invalid_password

Invalid password

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

Password must be 12-72 bytes

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

วิธีแก้

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

ตัวอย่าง response

JSON · ตัวอย่าง response
{
  "error": {
    "code": "invalid_password",
    "message": "Password must be 12-72 bytes",
    "requestId": "0123456789abcdef0123456789abcdef"
  }
}

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

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

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