Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented 403 from /api/v1/statuses/:id/translate #1330

Open
nikclayton opened this issue Nov 2, 2023 · 1 comment
Open

Undocumented 403 from /api/v1/statuses/:id/translate #1330

nikclayton opened this issue Nov 2, 2023 · 1 comment

Comments

@nikclayton
Copy link

This can fail with a 403 and body { "error": "This action is not allowed" }.

This happens if the status' language and the language of the account doing the translating are the same (e.g., a status mistakenly tagged as English but written in another language can not be translated by someone with their account set to English).

@nikclayton
Copy link
Author

mastodon/mastodon#27439 is related to this -- it's currently not possible to determine the user's preferred language using the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant