Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 4ca08f1

Browse files
committed
v3 docs: Tweak app-create errors section
- `CF-FeatureDisabled` is a 403, not a 422 [finishes #173506373](https://www.pivotaltracker.com/story/show/173506373) Authored-by: Reid Mitchell <rmitchell@pivotal.io>
1 parent 53834bc commit 4ca08f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/v3/source/includes/resources/apps/_create.md.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ Name | Type | Description | Default
5151
**metadata.labels** | [_label object_](#labels) | Labels applied to the app
5252
**metadata.annotations** | [_annotation object_](#annotations) | Annotations applied to the app
5353

54-
#### Potential errors (*experimental*)
54+
#### Potential errors *(experimental)*
5555

5656
In addition to any [common errors](#common-errors), this endpoint may return the following errors.
5757

5858
Title | Code | HTTP Status | Description
5959
----- | ---- | ----------- | -----------
6060
`CF-UniquenessError` | 10016 | 422 | The given app name is already taken in the targeted space
61-
`CF-FeatureDisabled` | 330002 | 422 | Some [feature flag](#list-of-feature-flags) must be enabled by the CloudFoundry admin in order to push the app as is. The `detail` message should contain information on which feature is disabled.
61+
`CF-FeatureDisabled` | 330002 | 403 | Some [feature flag](#list-of-feature-flags) must be enabled by the Cloud Foundry admin in order to push the app as is. The `detail` message should contain information on which feature is disabled.
6262

6363
#### Permitted roles
6464
|

0 commit comments

Comments
 (0)