Fix Fatal error when requesting a translation for content

Created on 6 May 2020, over 4 years ago
Updated 23 October 2023, about 1 year ago

Given that you have Lang A, B, C, and D.
When you request a translation for content from lang A to Lang B - it works.
And when you request another translation for the same content from lang C to Lang D. Fatal error happens.

Error:

Google\Cloud\Core\Exception\BadRequestException: { "error": { "code": 400, "message": "Invalid Value", "errors": [ { "message": "Invalid Value", "domain": "global", "reason": "invalid" } ] } } in Google\Cloud\Core\RequestWrapper->convertToGoogleException() (line 362 of /app/vendor/google/cloud-core/src/RequestWrapper.php).
πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Mohammed J. Razem Santa Clara, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024