Create Content Delivery Config
POST/v2/projects/:projectId/content-delivery-configs
Create Content Delivery Config
Request
Path Parameters
- application/json
Body
required
Id of custom storage to use for content delivery. If null, default server storage is used. Tolgee Cloud provides default Content Storage.
If true, data are published to the content delivery automatically after each change.
Possible values: non-empty
and <= 60 characters
Tolgee uses a custom slug as a directory name for content storage and public content delivery URL. It is only applicable for custom storage. This field needs to be kept null for Tolgee Cloud content storage or global server storage on self-hosted instances.
Slag has to match following regular expression: ^[a-z0-9]+(?:-[a-z0-9]+)*$
.
If null is provided for update operation, slug will be assigned with generated value.
Whether the data in the CDN should be pruned before publishing new data.
In some cases, you might want to keep the data in the storage and only replace the files created by following publish operation.
Languages to be contained in export.
If null, all languages are exported
Possible values: [JSON
, JSON_TOLGEE
, XLIFF
, PO
, APPLE_STRINGS_STRINGSDICT
, APPLE_XLIFF
, ANDROID_XML
, FLUTTER_ARB
, PROPERTIES
, YAML_RUBY
, YAML
, JSON_I18NEXT
, CSV
]
Format to export to
Delimiter to structure file content.
e.g. For key "home.header.title" would result in {"home": {"header": "title": {"Hello"}}} structure.
When null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML),
specific formats like YAML_RUBY
don't honor this parameter.
If true, for structured formats (like JSON) arrays are supported.
e.g. Key hello[0] will be exported as {"hello": ["..."]}
Filter key IDs to be contained in export
Filter key IDs not to be contained in export
Filter keys tagged by.
This filter works the same as filterTagIn
but in this cases it accepts single tag only.
Filter keys tagged by one of provided tags
Filter keys not tagged by one of provided tags
Filter keys with prefix
Possible values: [UNTRANSLATED
, TRANSLATED
, REVIEWED
, DISABLED
]
Filter translations with state. By default, all states except untranslated is exported.
Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.
Possible values: [C_SPRINTF
, PHP_SPRINTF
, JAVA_STRING_FORMAT
, APPLE_SPRINTF
, RUBY_SPRINTF
, I18NEXT
, ICU
]
Message format to be used for export.
e.g. PHP_PO: Hello %s, ICU: Hello {name}.
This property is honored only for generic formats like JSON or YAML.
For specific formats like YAML_RUBY
it's ignored.
This is a template that defines the structure of the resulting .zip file content.
The template is a string that can contain the following placeholders: {namespace}, {languageTag}, {androidLanguageTag}, {snakeLanguageTag}, {extension}.
For example, when exporting to JSON with the template {namespace}/{languageTag}.{extension}
,
the English translations of the home
namespace will be stored in home/en.json
.
The {snakeLanguageTag}
placeholder is the same as {languageTag}
but in snake case. (e.g., en_US).
The Android specific {androidLanguageTag}
placeholder is the same as {languageTag}
but in Android format. (e.g., en-rUS)
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
storage object
azureContentStorageConfig object
s3ContentStorageConfig object
Languages to be contained in export.
If null, all languages are exported
Possible values: [JSON
, JSON_TOLGEE
, XLIFF
, PO
, APPLE_STRINGS_STRINGSDICT
, APPLE_XLIFF
, ANDROID_XML
, FLUTTER_ARB
, PROPERTIES
, YAML_RUBY
, YAML
, JSON_I18NEXT
, CSV
]
Format to export to
Delimiter to structure file content.
e.g. For key "home.header.title" would result in {"home": {"header": "title": {"Hello"}}} structure.
When null, resulting file won't be structured. Works only for generic structured formats (e.g. JSON, YAML),
specific formats like YAML_RUBY
don't honor this parameter.
Filter key IDs to be contained in export
Filter key IDs not to be contained in export
Filter keys tagged by.
This filter works the same as filterTagIn
but in this cases it accepts single tag only.
Filter keys tagged by one of provided tags
Filter keys not tagged by one of provided tags
Filter keys with prefix
Possible values: [UNTRANSLATED
, TRANSLATED
, REVIEWED
, DISABLED
]
Filter translations with state. By default, all states except untranslated is exported.
Filter translations with namespace. By default, all namespaces everything are exported. To export default namespace, use empty string.
Possible values: [C_SPRINTF
, PHP_SPRINTF
, JAVA_STRING_FORMAT
, APPLE_SPRINTF
, RUBY_SPRINTF
, I18NEXT
, ICU
]
Message format to be used for export.
e.g. PHP_PO: Hello %s, ICU: Hello {name}.
This property is honored only for generic formats like JSON or YAML.
For specific formats like YAML_RUBY
it's ignored.
If true, for structured formats (like JSON) arrays are supported.
e.g. Key hello[0] will be exported as {"hello": ["..."]}
This is a template that defines the structure of the resulting .zip file content.
The template is a string that can contain the following placeholders: {namespace}, {languageTag}, {androidLanguageTag}, {snakeLanguageTag}, {extension}.
For example, when exporting to JSON with the template {namespace}/{languageTag}.{extension}
,
the English translations of the home
namespace will be stored in home/en.json
.
The {snakeLanguageTag}
placeholder is the same as {languageTag}
but in snake case. (e.g., en_US).
The Android specific {androidLanguageTag}
placeholder is the same as {languageTag}
but in Android format. (e.g., en-rUS)
{
"id": 0,
"name": "string",
"slug": "string",
"pruneBeforePublish": true,
"storage": {
"id": 0,
"name": "string",
"publicUrlPrefix": "string",
"azureContentStorageConfig": {
"containerName": "string"
},
"s3ContentStorageConfig": {
"bucketName": "string",
"endpoint": "string",
"signingRegion": "string"
}
},
"publicUrl": "string",
"autoPublish": true,
"lastPublished": 0,
"languages": "en",
"format": "JSON",
"structureDelimiter": "string",
"filterKeyId": [
0
],
"filterKeyIdNot": [
0
],
"filterTag": "string",
"filterTagIn": [
"string"
],
"filterTagNotIn": [
"string"
],
"filterKeyPrefix": "string",
"filterState": [
"UNTRANSLATED"
],
"filterNamespace": [
"string"
],
"messageFormat": "C_SPRINTF",
"supportArrays": true,
"fileStructureTemplate": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- ErrorResponseTyped
- ErrorResponseBody
Possible values: [unauthenticated
, api_access_forbidden
, api_key_not_found
, invalid_api_key
, invalid_project_api_key
, project_api_key_expired
, bad_credentials
, mfa_enabled
, invalid_otp_code
, mfa_not_enabled
, can_not_revoke_own_permissions
, data_corrupted
, invitation_code_does_not_exist_or_expired
, language_tag_exists
, language_name_exists
, language_not_found
, operation_not_permitted
, registrations_not_allowed
, project_not_found
, resource_not_found
, scope_not_found
, key_exists
, third_party_auth_error_message
, third_party_auth_no_email
, third_party_auth_no_sub
, third_party_auth_unknown_error
, email_already_verified
, third_party_unauthorized
, third_party_google_workspace_mismatch
, username_already_exists
, username_or_password_invalid
, user_already_has_permissions
, user_already_has_role
, user_not_found
, file_not_image
, file_too_big
, invalid_timestamp
, email_not_verified
, missing_callback_url
, invalid_jwt_token
, expired_jwt_token
, general_jwt_error
, cannot_find_suitable_address_part
, address_part_not_unique
, user_is_not_member_of_organization
, organization_has_no_other_owner
, user_has_no_project_access
, user_is_organization_owner
, cannot_set_your_own_permissions
, user_is_organization_member
, property_not_mutable
, import_language_not_from_project
, existing_language_not_selected
, conflict_is_not_resolved
, language_already_selected
, cannot_parse_file
, could_not_resolve_property
, cannot_add_more_then_100_languages
, no_languages_provided
, language_with_base_language_tag_not_found
, language_not_from_project
, namespace_not_from_project
, cannot_delete_base_language
, key_not_from_project
, max_screenshots_exceeded
, translation_not_from_project
, can_edit_only_own_comment
, request_parse_error
, filter_by_value_state_not_valid
, import_has_expired
, tag_not_from_project
, translation_text_too_long
, invalid_recaptcha_token
, cannot_leave_owning_project
, cannot_leave_project_with_organization_role
, dont_have_direct_permissions
, tag_too_log
, too_many_uploaded_images
, one_or_more_images_not_found
, screenshot_not_of_key
, service_not_found
, too_many_requests
, translation_not_found
, out_of_credits
, key_not_found
, organization_not_found
, cannot_find_base_language
, base_language_not_found
, no_exported_result
, cannot_set_your_own_role
, only_translate_review_or_view_permission_accepts_view_languages
, oauth2_token_url_not_set
, oauth2_user_url_not_set
, email_already_invited_or_member
, price_not_found
, invoice_not_from_organization
, invoice_not_found
, plan_not_found
, plan_not_available_any_more
, no_auto_translation_method
, cannot_translate_base_language
, pat_not_found
, invalid_pat
, pat_expired
, operation_unavailable_for_account_type
, validation_email_is_not_valid
, current_password_required
, cannot_create_organization
, wrong_current_password
, wrong_param_type
, expired_super_jwt_token
, cannot_delete_your_own_account
, cannot_sort_by_this_column
, namespace_not_found
, namespace_exists
, invalid_authentication_method
, unknown_sort_property
, only_review_permission_accepts_state_change_languages
, only_translate_or_review_permission_accepts_translate_languages
, cannot_set_language_permissions_for_admin_scope
, cannot_set_view_languages_without_translations_view_scope
, cannot_set_translate_languages_without_translations_edit_scope
, cannot_set_state_change_languages_without_translations_state_edit_scope
, language_not_permitted
, scopes_has_to_be_set
, set_exactly_one_of_scopes_or_type
, translation_exists
, import_keys_error
, provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids
, multiple_projects_not_supported
, plan_translation_limit_exceeded
, feature_not_enabled
, license_key_not_found
, cannot_set_view_languages_without_for_level_based_permissions
, cannot_set_different_translate_and_state_change_languages_for_level_based_permissions
, cannot_disable_your_own_account
, subscription_not_found
, invoice_does_not_have_usage
, customer_not_found
, subscription_not_active
, organization_already_subscribed
, organization_not_subscribed
, license_key_used_by_another_instance
, translation_spending_limit_exceeded
, credit_spending_limit_exceeded
, seats_spending_limit_exceeded
, this_instance_is_already_licensed
, big_meta_not_from_project
, mt_service_not_enabled
, project_not_selected
, organization_not_selected
, plan_has_subscribers
, translation_failed
, batch_job_not_found
, key_exists_in_namespace
, tag_is_blank
, execution_failed_on_management_error
, translation_api_rate_limit
, cannot_finalize_activity
, formality_not_supported_by_service
, language_not_supported_by_service
, rate_limited
, pat_access_not_allowed
, pak_access_not_allowed
, cannot_modify_disabled_translation
, azure_config_required
, s3_config_required
, content_storage_config_required
, content_storage_test_failed
, content_storage_config_invalid
, invalid_connection_string
, cannot_create_azure_storage_client
, s3_access_key_required
, azure_connection_string_required
, s3_secret_key_required
, cannot_store_file_to_content_storage
, unexpected_error_while_publishing_to_content_storage
, webhook_responded_with_non_200_status
, unexpected_error_while_executing_webhook
, content_storage_is_in_use
, cannot_set_state_for_missing_translation
, no_project_id_provided
, license_key_not_provided
, subscription_already_canceled
, user_is_subscribed_to_paid_plan
, cannot_create_free_plan_without_fixed_type
, cannot_modify_plan_free_status
, key_id_not_provided
, free_self_hosted_seat_limit_exceeded
, advanced_params_not_supported
, plural_forms_not_found_for_language
, nested_plurals_not_supported
, message_is_not_plural
, content_outside_plural_forms
, invalid_plural_form
, multiple_plurals_not_supported
, custom_values_json_too_long
, unsupported_po_message_format
, plural_forms_data_loss
, current_user_does_not_own_image
, user_cannot_view_this_organization
, user_is_not_owner_of_organization
, pak_created_for_different_project
, custom_slug_is_only_applicable_for_custom_storage
, invalid_slug_format
, batch_job_cancellation_timeout
, import_failed
, cannot_add_more_then_1000_languages
, no_data_to_import
, multiple_namespaces_mapped_to_single_file
, multiple_mappings_for_same_file_language_name
, multiple_mappings_for_null_file_language_name
, too_many_mappings_for_file
, missing_placeholder_in_template
, tag_not_found
, cannot_parse_encrypted_slack_login_data
, slack_workspace_not_found
, cannot_fetch_user_details_from_slack
, slack_missing_scope
, slack_not_connected_to_your_account
, slack_invalid_command
, slack_not_subscribed_yet
, slack_connection_failed
, tolgee_account_already_connected
, slack_not_configured
, slack_workspace_already_connected
, slack_connection_error
, email_verification_code_not_valid
, cannot_subscribe_to_free_plan
, plan_auto_assignment_only_for_free_plans
, plan_auto_assignment_only_for_private_plans
, plan_auto_assignment_organization_ids_not_in_for_organization_ids
, task_not_found
, task_not_finished
, task_not_open
]
{
"code": "you_did_something_wrong",
"params": [
"something",
"wrong"
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
- ErrorResponseTyped
- ErrorResponseBody
Possible values: [unauthenticated
, api_access_forbidden
, api_key_not_found
, invalid_api_key
, invalid_project_api_key
, project_api_key_expired
, bad_credentials
, mfa_enabled
, invalid_otp_code
, mfa_not_enabled
, can_not_revoke_own_permissions
, data_corrupted
, invitation_code_does_not_exist_or_expired
, language_tag_exists
, language_name_exists
, language_not_found
, operation_not_permitted
, registrations_not_allowed
, project_not_found
, resource_not_found
, scope_not_found
, key_exists
, third_party_auth_error_message
, third_party_auth_no_email
, third_party_auth_no_sub
, third_party_auth_unknown_error
, email_already_verified
, third_party_unauthorized
, third_party_google_workspace_mismatch
, username_already_exists
, username_or_password_invalid
, user_already_has_permissions
, user_already_has_role
, user_not_found
, file_not_image
, file_too_big
, invalid_timestamp
, email_not_verified
, missing_callback_url
, invalid_jwt_token
, expired_jwt_token
, general_jwt_error
, cannot_find_suitable_address_part
, address_part_not_unique
, user_is_not_member_of_organization
, organization_has_no_other_owner
, user_has_no_project_access
, user_is_organization_owner
, cannot_set_your_own_permissions
, user_is_organization_member
, property_not_mutable
, import_language_not_from_project
, existing_language_not_selected
, conflict_is_not_resolved
, language_already_selected
, cannot_parse_file
, could_not_resolve_property
, cannot_add_more_then_100_languages
, no_languages_provided
, language_with_base_language_tag_not_found
, language_not_from_project
, namespace_not_from_project
, cannot_delete_base_language
, key_not_from_project
, max_screenshots_exceeded
, translation_not_from_project
, can_edit_only_own_comment
, request_parse_error
, filter_by_value_state_not_valid
, import_has_expired
, tag_not_from_project
, translation_text_too_long
, invalid_recaptcha_token
, cannot_leave_owning_project
, cannot_leave_project_with_organization_role
, dont_have_direct_permissions
, tag_too_log
, too_many_uploaded_images
, one_or_more_images_not_found
, screenshot_not_of_key
, service_not_found
, too_many_requests
, translation_not_found
, out_of_credits
, key_not_found
, organization_not_found
, cannot_find_base_language
, base_language_not_found
, no_exported_result
, cannot_set_your_own_role
, only_translate_review_or_view_permission_accepts_view_languages
, oauth2_token_url_not_set
, oauth2_user_url_not_set
, email_already_invited_or_member
, price_not_found
, invoice_not_from_organization
, invoice_not_found
, plan_not_found
, plan_not_available_any_more
, no_auto_translation_method
, cannot_translate_base_language
, pat_not_found
, invalid_pat
, pat_expired
, operation_unavailable_for_account_type
, validation_email_is_not_valid
, current_password_required
, cannot_create_organization
, wrong_current_password
, wrong_param_type
, expired_super_jwt_token
, cannot_delete_your_own_account
, cannot_sort_by_this_column
, namespace_not_found
, namespace_exists
, invalid_authentication_method
, unknown_sort_property
, only_review_permission_accepts_state_change_languages
, only_translate_or_review_permission_accepts_translate_languages
, cannot_set_language_permissions_for_admin_scope
, cannot_set_view_languages_without_translations_view_scope
, cannot_set_translate_languages_without_translations_edit_scope
, cannot_set_state_change_languages_without_translations_state_edit_scope
, language_not_permitted
, scopes_has_to_be_set
, set_exactly_one_of_scopes_or_type
, translation_exists
, import_keys_error
, provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids
, multiple_projects_not_supported
, plan_translation_limit_exceeded
, feature_not_enabled
, license_key_not_found
, cannot_set_view_languages_without_for_level_based_permissions
, cannot_set_different_translate_and_state_change_languages_for_level_based_permissions
, cannot_disable_your_own_account
, subscription_not_found
, invoice_does_not_have_usage
, customer_not_found
, subscription_not_active
, organization_already_subscribed
, organization_not_subscribed
, license_key_used_by_another_instance
, translation_spending_limit_exceeded
, credit_spending_limit_exceeded
, seats_spending_limit_exceeded
, this_instance_is_already_licensed
, big_meta_not_from_project
, mt_service_not_enabled
, project_not_selected
, organization_not_selected
, plan_has_subscribers
, translation_failed
, batch_job_not_found
, key_exists_in_namespace
, tag_is_blank
, execution_failed_on_management_error
, translation_api_rate_limit
, cannot_finalize_activity
, formality_not_supported_by_service
, language_not_supported_by_service
, rate_limited
, pat_access_not_allowed
, pak_access_not_allowed
, cannot_modify_disabled_translation
, azure_config_required
, s3_config_required
, content_storage_config_required
, content_storage_test_failed
, content_storage_config_invalid
, invalid_connection_string
, cannot_create_azure_storage_client
, s3_access_key_required
, azure_connection_string_required
, s3_secret_key_required
, cannot_store_file_to_content_storage
, unexpected_error_while_publishing_to_content_storage
, webhook_responded_with_non_200_status
, unexpected_error_while_executing_webhook
, content_storage_is_in_use
, cannot_set_state_for_missing_translation
, no_project_id_provided
, license_key_not_provided
, subscription_already_canceled
, user_is_subscribed_to_paid_plan
, cannot_create_free_plan_without_fixed_type
, cannot_modify_plan_free_status
, key_id_not_provided
, free_self_hosted_seat_limit_exceeded
, advanced_params_not_supported
, plural_forms_not_found_for_language
, nested_plurals_not_supported
, message_is_not_plural
, content_outside_plural_forms
, invalid_plural_form
, multiple_plurals_not_supported
, custom_values_json_too_long
, unsupported_po_message_format
, plural_forms_data_loss
, current_user_does_not_own_image
, user_cannot_view_this_organization
, user_is_not_owner_of_organization
, pak_created_for_different_project
, custom_slug_is_only_applicable_for_custom_storage
, invalid_slug_format
, batch_job_cancellation_timeout
, import_failed
, cannot_add_more_then_1000_languages
, no_data_to_import
, multiple_namespaces_mapped_to_single_file
, multiple_mappings_for_same_file_language_name
, multiple_mappings_for_null_file_language_name
, too_many_mappings_for_file
, missing_placeholder_in_template
, tag_not_found
, cannot_parse_encrypted_slack_login_data
, slack_workspace_not_found
, cannot_fetch_user_details_from_slack
, slack_missing_scope
, slack_not_connected_to_your_account
, slack_invalid_command
, slack_not_subscribed_yet
, slack_connection_failed
, tolgee_account_already_connected
, slack_not_configured
, slack_workspace_already_connected
, slack_connection_error
, email_verification_code_not_valid
, cannot_subscribe_to_free_plan
, plan_auto_assignment_only_for_free_plans
, plan_auto_assignment_only_for_private_plans
, plan_auto_assignment_organization_ids_not_in_for_organization_ids
, task_not_found
, task_not_finished
, task_not_open
]
{
"code": "unauthenticated"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
- ErrorResponseTyped
- ErrorResponseBody
Possible values: [unauthenticated
, api_access_forbidden
, api_key_not_found
, invalid_api_key
, invalid_project_api_key
, project_api_key_expired
, bad_credentials
, mfa_enabled
, invalid_otp_code
, mfa_not_enabled
, can_not_revoke_own_permissions
, data_corrupted
, invitation_code_does_not_exist_or_expired
, language_tag_exists
, language_name_exists
, language_not_found
, operation_not_permitted
, registrations_not_allowed
, project_not_found
, resource_not_found
, scope_not_found
, key_exists
, third_party_auth_error_message
, third_party_auth_no_email
, third_party_auth_no_sub
, third_party_auth_unknown_error
, email_already_verified
, third_party_unauthorized
, third_party_google_workspace_mismatch
, username_already_exists
, username_or_password_invalid
, user_already_has_permissions
, user_already_has_role
, user_not_found
, file_not_image
, file_too_big
, invalid_timestamp
, email_not_verified
, missing_callback_url
, invalid_jwt_token
, expired_jwt_token
, general_jwt_error
, cannot_find_suitable_address_part
, address_part_not_unique
, user_is_not_member_of_organization
, organization_has_no_other_owner
, user_has_no_project_access
, user_is_organization_owner
, cannot_set_your_own_permissions
, user_is_organization_member
, property_not_mutable
, import_language_not_from_project
, existing_language_not_selected
, conflict_is_not_resolved
, language_already_selected
, cannot_parse_file
, could_not_resolve_property
, cannot_add_more_then_100_languages
, no_languages_provided
, language_with_base_language_tag_not_found
, language_not_from_project
, namespace_not_from_project
, cannot_delete_base_language
, key_not_from_project
, max_screenshots_exceeded
, translation_not_from_project
, can_edit_only_own_comment
, request_parse_error
, filter_by_value_state_not_valid
, import_has_expired
, tag_not_from_project
, translation_text_too_long
, invalid_recaptcha_token
, cannot_leave_owning_project
, cannot_leave_project_with_organization_role
, dont_have_direct_permissions
, tag_too_log
, too_many_uploaded_images
, one_or_more_images_not_found
, screenshot_not_of_key
, service_not_found
, too_many_requests
, translation_not_found
, out_of_credits
, key_not_found
, organization_not_found
, cannot_find_base_language
, base_language_not_found
, no_exported_result
, cannot_set_your_own_role
, only_translate_review_or_view_permission_accepts_view_languages
, oauth2_token_url_not_set
, oauth2_user_url_not_set
, email_already_invited_or_member
, price_not_found
, invoice_not_from_organization
, invoice_not_found
, plan_not_found
, plan_not_available_any_more
, no_auto_translation_method
, cannot_translate_base_language
, pat_not_found
, invalid_pat
, pat_expired
, operation_unavailable_for_account_type
, validation_email_is_not_valid
, current_password_required
, cannot_create_organization
, wrong_current_password
, wrong_param_type
, expired_super_jwt_token
, cannot_delete_your_own_account
, cannot_sort_by_this_column
, namespace_not_found
, namespace_exists
, invalid_authentication_method
, unknown_sort_property
, only_review_permission_accepts_state_change_languages
, only_translate_or_review_permission_accepts_translate_languages
, cannot_set_language_permissions_for_admin_scope
, cannot_set_view_languages_without_translations_view_scope
, cannot_set_translate_languages_without_translations_edit_scope
, cannot_set_state_change_languages_without_translations_state_edit_scope
, language_not_permitted
, scopes_has_to_be_set
, set_exactly_one_of_scopes_or_type
, translation_exists
, import_keys_error
, provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids
, multiple_projects_not_supported
, plan_translation_limit_exceeded
, feature_not_enabled
, license_key_not_found
, cannot_set_view_languages_without_for_level_based_permissions
, cannot_set_different_translate_and_state_change_languages_for_level_based_permissions
, cannot_disable_your_own_account
, subscription_not_found
, invoice_does_not_have_usage
, customer_not_found
, subscription_not_active
, organization_already_subscribed
, organization_not_subscribed
, license_key_used_by_another_instance
, translation_spending_limit_exceeded
, credit_spending_limit_exceeded
, seats_spending_limit_exceeded
, this_instance_is_already_licensed
, big_meta_not_from_project
, mt_service_not_enabled
, project_not_selected
, organization_not_selected
, plan_has_subscribers
, translation_failed
, batch_job_not_found
, key_exists_in_namespace
, tag_is_blank
, execution_failed_on_management_error
, translation_api_rate_limit
, cannot_finalize_activity
, formality_not_supported_by_service
, language_not_supported_by_service
, rate_limited
, pat_access_not_allowed
, pak_access_not_allowed
, cannot_modify_disabled_translation
, azure_config_required
, s3_config_required
, content_storage_config_required
, content_storage_test_failed
, content_storage_config_invalid
, invalid_connection_string
, cannot_create_azure_storage_client
, s3_access_key_required
, azure_connection_string_required
, s3_secret_key_required
, cannot_store_file_to_content_storage
, unexpected_error_while_publishing_to_content_storage
, webhook_responded_with_non_200_status
, unexpected_error_while_executing_webhook
, content_storage_is_in_use
, cannot_set_state_for_missing_translation
, no_project_id_provided
, license_key_not_provided
, subscription_already_canceled
, user_is_subscribed_to_paid_plan
, cannot_create_free_plan_without_fixed_type
, cannot_modify_plan_free_status
, key_id_not_provided
, free_self_hosted_seat_limit_exceeded
, advanced_params_not_supported
, plural_forms_not_found_for_language
, nested_plurals_not_supported
, message_is_not_plural
, content_outside_plural_forms
, invalid_plural_form
, multiple_plurals_not_supported
, custom_values_json_too_long
, unsupported_po_message_format
, plural_forms_data_loss
, current_user_does_not_own_image
, user_cannot_view_this_organization
, user_is_not_owner_of_organization
, pak_created_for_different_project
, custom_slug_is_only_applicable_for_custom_storage
, invalid_slug_format
, batch_job_cancellation_timeout
, import_failed
, cannot_add_more_then_1000_languages
, no_data_to_import
, multiple_namespaces_mapped_to_single_file
, multiple_mappings_for_same_file_language_name
, multiple_mappings_for_null_file_language_name
, too_many_mappings_for_file
, missing_placeholder_in_template
, tag_not_found
, cannot_parse_encrypted_slack_login_data
, slack_workspace_not_found
, cannot_fetch_user_details_from_slack
, slack_missing_scope
, slack_not_connected_to_your_account
, slack_invalid_command
, slack_not_subscribed_yet
, slack_connection_failed
, tolgee_account_already_connected
, slack_not_configured
, slack_workspace_already_connected
, slack_connection_error
, email_verification_code_not_valid
, cannot_subscribe_to_free_plan
, plan_auto_assignment_only_for_free_plans
, plan_auto_assignment_only_for_private_plans
, plan_auto_assignment_organization_ids_not_in_for_organization_ids
, task_not_found
, task_not_finished
, task_not_open
]
{
"code": "operation_not_permitted",
"params": [
"translations.edit"
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- ErrorResponseTyped
- ErrorResponseBody
Possible values: [unauthenticated
, api_access_forbidden
, api_key_not_found
, invalid_api_key
, invalid_project_api_key
, project_api_key_expired
, bad_credentials
, mfa_enabled
, invalid_otp_code
, mfa_not_enabled
, can_not_revoke_own_permissions
, data_corrupted
, invitation_code_does_not_exist_or_expired
, language_tag_exists
, language_name_exists
, language_not_found
, operation_not_permitted
, registrations_not_allowed
, project_not_found
, resource_not_found
, scope_not_found
, key_exists
, third_party_auth_error_message
, third_party_auth_no_email
, third_party_auth_no_sub
, third_party_auth_unknown_error
, email_already_verified
, third_party_unauthorized
, third_party_google_workspace_mismatch
, username_already_exists
, username_or_password_invalid
, user_already_has_permissions
, user_already_has_role
, user_not_found
, file_not_image
, file_too_big
, invalid_timestamp
, email_not_verified
, missing_callback_url
, invalid_jwt_token
, expired_jwt_token
, general_jwt_error
, cannot_find_suitable_address_part
, address_part_not_unique
, user_is_not_member_of_organization
, organization_has_no_other_owner
, user_has_no_project_access
, user_is_organization_owner
, cannot_set_your_own_permissions
, user_is_organization_member
, property_not_mutable
, import_language_not_from_project
, existing_language_not_selected
, conflict_is_not_resolved
, language_already_selected
, cannot_parse_file
, could_not_resolve_property
, cannot_add_more_then_100_languages
, no_languages_provided
, language_with_base_language_tag_not_found
, language_not_from_project
, namespace_not_from_project
, cannot_delete_base_language
, key_not_from_project
, max_screenshots_exceeded
, translation_not_from_project
, can_edit_only_own_comment
, request_parse_error
, filter_by_value_state_not_valid
, import_has_expired
, tag_not_from_project
, translation_text_too_long
, invalid_recaptcha_token
, cannot_leave_owning_project
, cannot_leave_project_with_organization_role
, dont_have_direct_permissions
, tag_too_log
, too_many_uploaded_images
, one_or_more_images_not_found
, screenshot_not_of_key
, service_not_found
, too_many_requests
, translation_not_found
, out_of_credits
, key_not_found
, organization_not_found
, cannot_find_base_language
, base_language_not_found
, no_exported_result
, cannot_set_your_own_role
, only_translate_review_or_view_permission_accepts_view_languages
, oauth2_token_url_not_set
, oauth2_user_url_not_set
, email_already_invited_or_member
, price_not_found
, invoice_not_from_organization
, invoice_not_found
, plan_not_found
, plan_not_available_any_more
, no_auto_translation_method
, cannot_translate_base_language
, pat_not_found
, invalid_pat
, pat_expired
, operation_unavailable_for_account_type
, validation_email_is_not_valid
, current_password_required
, cannot_create_organization
, wrong_current_password
, wrong_param_type
, expired_super_jwt_token
, cannot_delete_your_own_account
, cannot_sort_by_this_column
, namespace_not_found
, namespace_exists
, invalid_authentication_method
, unknown_sort_property
, only_review_permission_accepts_state_change_languages
, only_translate_or_review_permission_accepts_translate_languages
, cannot_set_language_permissions_for_admin_scope
, cannot_set_view_languages_without_translations_view_scope
, cannot_set_translate_languages_without_translations_edit_scope
, cannot_set_state_change_languages_without_translations_state_edit_scope
, language_not_permitted
, scopes_has_to_be_set
, set_exactly_one_of_scopes_or_type
, translation_exists
, import_keys_error
, provide_only_one_of_screenshots_and_screenshot_uploaded_image_ids
, multiple_projects_not_supported
, plan_translation_limit_exceeded
, feature_not_enabled
, license_key_not_found
, cannot_set_view_languages_without_for_level_based_permissions
, cannot_set_different_translate_and_state_change_languages_for_level_based_permissions
, cannot_disable_your_own_account
, subscription_not_found
, invoice_does_not_have_usage
, customer_not_found
, subscription_not_active
, organization_already_subscribed
, organization_not_subscribed
, license_key_used_by_another_instance
, translation_spending_limit_exceeded
, credit_spending_limit_exceeded
, seats_spending_limit_exceeded
, this_instance_is_already_licensed
, big_meta_not_from_project
, mt_service_not_enabled
, project_not_selected
, organization_not_selected
, plan_has_subscribers
, translation_failed
, batch_job_not_found
, key_exists_in_namespace
, tag_is_blank
, execution_failed_on_management_error
, translation_api_rate_limit
, cannot_finalize_activity
, formality_not_supported_by_service
, language_not_supported_by_service
, rate_limited
, pat_access_not_allowed
, pak_access_not_allowed
, cannot_modify_disabled_translation
, azure_config_required
, s3_config_required
, content_storage_config_required
, content_storage_test_failed
, content_storage_config_invalid
, invalid_connection_string
, cannot_create_azure_storage_client
, s3_access_key_required
, azure_connection_string_required
, s3_secret_key_required
, cannot_store_file_to_content_storage
, unexpected_error_while_publishing_to_content_storage
, webhook_responded_with_non_200_status
, unexpected_error_while_executing_webhook
, content_storage_is_in_use
, cannot_set_state_for_missing_translation
, no_project_id_provided
, license_key_not_provided
, subscription_already_canceled
, user_is_subscribed_to_paid_plan
, cannot_create_free_plan_without_fixed_type
, cannot_modify_plan_free_status
, key_id_not_provided
, free_self_hosted_seat_limit_exceeded
, advanced_params_not_supported
, plural_forms_not_found_for_language
, nested_plurals_not_supported
, message_is_not_plural
, content_outside_plural_forms
, invalid_plural_form
, multiple_plurals_not_supported
, custom_values_json_too_long
, unsupported_po_message_format
, plural_forms_data_loss
, current_user_does_not_own_image
, user_cannot_view_this_organization
, user_is_not_owner_of_organization
, pak_created_for_different_project
, custom_slug_is_only_applicable_for_custom_storage
, invalid_slug_format
, batch_job_cancellation_timeout
, import_failed
, cannot_add_more_then_1000_languages
, no_data_to_import
, multiple_namespaces_mapped_to_single_file
, multiple_mappings_for_same_file_language_name
, multiple_mappings_for_null_file_language_name
, too_many_mappings_for_file
, missing_placeholder_in_template
, tag_not_found
, cannot_parse_encrypted_slack_login_data
, slack_workspace_not_found
, cannot_fetch_user_details_from_slack
, slack_missing_scope
, slack_not_connected_to_your_account
, slack_invalid_command
, slack_not_subscribed_yet
, slack_connection_failed
, tolgee_account_already_connected
, slack_not_configured
, slack_workspace_already_connected
, slack_connection_error
, email_verification_code_not_valid
, cannot_subscribe_to_free_plan
, plan_auto_assignment_only_for_free_plans
, plan_auto_assignment_only_for_private_plans
, plan_auto_assignment_organization_ids_not_in_for_organization_ids
, task_not_found
, task_not_finished
, task_not_open
]
{
"code": "resource_not_found",
"params": null
}