स्ट्रक्चर्ड गड़बड़ी के जवाब
आपको बेहतर मैसेज और लॉग की अनुमति देने के लिए, कुंजी ऐक्सेस कंट्रोल लिस्ट (KACLS) का इस्तेमाल किया जाता है
कार्रवाई पूरी नहीं होने पर, मुख्य हिस्से में स्ट्रक्चर्ड JSON जवाब दिखता है.
स्टैंडर्ड एचटीटीपी स्टेटस कोड इस्तेमाल किए जाते हैं.
JSON के काेड में दिखाना |
{
"code": int,
"message": string,
"details": string
}
|
फ़ील्ड |
code |
int
स्टैंडर्ड एचटीटीपी स्टेटस कोड
|
message |
string (UTF-8)
गड़बड़ी का मैसेज, जिसे कोई भी व्यक्ति पढ़ सकता है.
|
details |
string (UTF-8)
गड़बड़ी के बारे में ज़्यादा जानकारी, जैसे कि स्टैक ट्रेस.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-22 (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"]]