You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Translate API Developer Forum
Hi, I have a strange problem. If I translate a text from Czech to English, Google Translate API returns me code 403. I try to inspect the Czech text and I found there a few non-breaking space entities ( ) . If I remove it the translate is successful. Is there any reason why have I to remove non-breaking spaces before the translate request?
If I translate the same Czech text to Slovak or Polish, there is no problem with non-breaking spaces and text is translated successfully.
Of course I am able to replace non-breaking space entities with spaces but: 1. Is it any Google Translate API error? 2. If is it a feature does anybody know which entities cause the same problem?
"translatedText": "COUVERT - front lining left version, in combination with the side panel COUVERT is suitable for rectangular shallow baths Polysan installed in a corner. Smooth surface and form a modern look with bathtubs Polysan compact unit. Using finds wherever you can not pan or classically underpin the need for easy access under the tub (whirlpool system, the battery is installed on the edge of the tub, etc.). The panel can only be installed on the tub with the supporting structure. Designed for shallow baths - to a depth of 40 cm. Suitable type tubs can be found in accessories. The front panel comes without a sidebar. The side panel must be ordered separately depending on the size of the tub. Variants of the side panels can be found in accessories.",
"detectedSourceLanguage": "cs"
}
]
}
}
Is this still occurring for you? Usually a 403 error is an authorization problem. Could you attempt to capture a HAR recording of your browser when making the request, or if using code to make the requeset, could you have it print / log the request and response data?