When using the REST API for Release Bundle v2 version creation, set the optional query parameter to fail_safe=false to have Artifactory collect the following validation errors and return them as a group after the failed creation operation:
Error Code | Sample Errors |
|---|---|
400 |
|
403 |
|
404 |
|
422 |
|
Note
The errors listed in the table above are meant to be representative but are not an exhaustive list.
When fail_safe=true (default value), the creation operation will fail as soon as the first validation error is encountered.
Other types of errors, such as 403 errors due to permissions or an expired key and 409 errors due to attempts to create a version that already exists, are not supported by the fail_safe option.
Tip
By default, a maximum of 50 errors are returned. The limit is defined by the system property lifecycle.errors.group.limit