স্ট্রাকচার্ড ত্রুটির উত্তর
আরও ভাল বার্তা এবং লগের অনুমতি দেওয়ার জন্য, কী অ্যাক্সেস কন্ট্রোল লিস্ট সার্ভিস (কেএসিএলএস) অপারেশন ব্যর্থতা শরীরে একটি কাঠামোগত JSON উত্তর প্রদান করে। স্ট্যান্ডার্ড HTTP স্ট্যাটাস কোড ব্যবহার করা হয়।
JSON প্রতিনিধিত্ব |
---|
{
"code": int,
"message": string,
"details": string
} |
ক্ষেত্র |
---|
code | int স্ট্যান্ডার্ড HTTP স্থিতি কোড |
message | string (UTF-8) একটি মানুষের পাঠযোগ্য ত্রুটি বার্তা. |
details | string (UTF-8) ত্রুটি সম্পর্কে আরও বিশদ বিবরণ, যেমন একটি স্ট্যাক ট্রেস। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["KACLS operation failures now return structured JSON responses for improved debugging."],["These JSON responses include an HTTP status code, a human-readable message, and detailed error information."],["This structure facilitates easier integration with automated systems and provides developers with more context for troubleshooting."]]],["KACLS operation failures now return a structured JSON response in the body, using standard HTTP status codes. The JSON format includes three fields: `code` (an integer representing the HTTP status), `message` (a human-readable error string), and `details` (a string providing further information like a stack trace). This structured format improves the quality of error messages and logs.\n"]]