Skip to content

Commit 21c1ef5

Browse files
committed
Remove errors not found in source code
1 parent 455f5fb commit 21c1ef5

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

apify-api/openapi/components/responses/Conflict.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ content:
55
$ref: ../schemas/common/ErrorResponse.yaml
66
example:
77
error:
8-
type: record-not-unique
8+
type: actor-name-not-unique
99
message: Record with the given name already exists.

apify-api/openapi/components/responses/Forbidden.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ content:
55
$ref: ../schemas/common/ErrorResponse.yaml
66
example:
77
error:
8-
type: permission-denied
8+
type: insufficient-permissions
99
message: You do not have permission to perform this action.

apify-api/openapi/components/responses/Unauthorized.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ content:
55
$ref: ../schemas/common/ErrorResponse.yaml
66
example:
77
error:
8-
type: token-not-valid
8+
type: invalid-token
99
message: Authentication token is not valid.

apify-api/openapi/components/schemas/common/ErrorType.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ enum:
266266
- payout-must-be-approved-to-be-marked-paid
267267
- payout-not-found
268268
- payout-number-already-exists
269-
- permission-denied
270269
- phone-number-invalid
271270
- phone-number-landline
272271
- phone-number-opted-out
@@ -284,7 +283,6 @@ enum:
284283
- recaptcha-required
285284
- record-not-found
286285
- record-not-public
287-
- record-not-unique
288286
- record-or-token-not-found
289287
- record-too-large
290288
- redirect-uri-mismatch
@@ -325,7 +323,6 @@ enum:
325323
- taxamo-request-failed
326324
- testing-error
327325
- token-not-provided
328-
- token-not-valid
329326
- too-few-versions
330327
- too-many-actor-tasks
331328
- too-many-actors

0 commit comments

Comments
 (0)