Exception thrown when the operation was rejected because the system is not in a state required
for the operation's execution. For example, directory to be deleted may be non-empty, an rmdir
operation is applied to a non-directory, etc.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class, which is a type of \u003ccode\u003eApiException\u003c/code\u003e that is thrown when an operation fails because the system is in an incorrect state.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eFailedPreconditionException\u003c/code\u003e class is 2.63.1, and the page provides links to versions dating back to 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFailedPreconditionException\u003c/code\u003e has constructors that accept parameters such as \u003ccode\u003emessage\u003c/code\u003e, \u003ccode\u003ecause\u003c/code\u003e, \u003ccode\u003estatusCode\u003c/code\u003e, \u003ccode\u003eretryable\u003c/code\u003e, and \u003ccode\u003eerrorDetails\u003c/code\u003e, allowing for detailed specification of the exception.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several members from \u003ccode\u003eApiException\u003c/code\u003e, \u003ccode\u003eObject\u003c/code\u003e, and \u003ccode\u003eThrowable\u003c/code\u003e, including methods for retrieving error details, metadata, status codes, and information about the exception's cause and stack trace.\u003c/p\u003e\n"]]],[],null,[]]