awsdocs / amazon-translate-developer-guide

The open source version of the Amazon Translate docs. You can submit feedback & requests for changes by submitting issues in this repo or by making proposed changes & submitting a pull request
Other
13 stars 23 forks source link

Update API_TranslateText.md #15

Closed mikewest82 closed 2 years ago

mikewest82 commented 2 years ago

Added an under-documented error case

Issue #, if available: When following the instructions in the Translate documentation there is an un(der)documented error case where Translate attempts to call Comprehend in the same region, but if Comprehend is not in the region it fails. As it stands now, the error simply states "autodetect is not supported" which would appear to be in conflict with the documentation. (Alternatively the error message could say it's not supported because Comprehend is not available in the target region, but this seemed quicker).

Description of changes: I added the error and the cause in the page.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

devlinbd2 commented 2 years ago

Thank you for providing the error description. I will also add a note in the SourceLanguageCode.

devlinbd2 commented 2 years ago

Thank you for providing the error description. I will also add a note in the SourceLanguageCode.

mikewest82 commented 2 years ago

Thank you Barry.

On Tue, Jun 7, 2022 at 4:28 PM Barry Devlin @.***> wrote:

Merged #15 https://github.com/awsdocs/amazon-translate-developer-guide/pull/15 into master.

— Reply to this email directly, view it on GitHub https://github.com/awsdocs/amazon-translate-developer-guide/pull/15#event-6765373796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHQ3GD6LCJ5XKXA3OYNQDLVN7LLRANCNFSM5XW33LAQ . You are receiving this because you authored the thread.Message ID: <awsdocs/amazon-translate-developer-guide/pull/15/issue_event/6765373796@ github.com>