diff --git a/apify-api/openapi/components/schemas/common/ErrorType.yaml b/apify-api/openapi/components/schemas/common/ErrorType.yaml index 7d18ec687c..90259633db 100644 --- a/apify-api/openapi/components/schemas/common/ErrorType.yaml +++ b/apify-api/openapi/components/schemas/common/ErrorType.yaml @@ -126,6 +126,7 @@ enum: - expired-conference-token - failed-to-charge-user - final-invoice-negative + - full-permission-actor-not-approved - github-branch-empty - github-issue-already-exists - github-public-key-not-found @@ -297,6 +298,7 @@ enum: - requested-dataset-view-does-not-exist - resume-token-expired - run-failed + - run-input-body-not-valid-json - run-timeout-exceeded - russia-is-evil - same-user diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml index a6664423b7..2d43cec4a6 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml @@ -27,11 +27,13 @@ get: $ref: ../../components/responses/BadRequest.yaml "403": # It should be 404, but is 403 for backwards compatibility. https://github.com/apify/apify-core/pull/17414 - description: Not found - the requested resource was not found. + # Returned both when the default build does not exist (error type `unknown-build-tag`) + # and when the caller lacks read permission for the Actor (error type `insufficient-permissions`). + description: Forbidden - insufficient permissions, or the requested resource was not found. content: application/json: schema: - $ref: "../../components/schemas/common/errors/BuildErrors.yaml#/UnknownBuildTagError" + $ref: ../../components/schemas/common/ErrorResponse.yaml "404": $ref: ../../components/responses/NotFound.yaml "405":