Hello there,
I’ve enabled Discourse AI on our community forum and started backfilling into multiple languages. Around 60% of posts and topics are translated, but in the process, I’m getting a LOT of errors in the console (ai_translation_verbose_logs
is enabled) and now backfilling has mostly stalled:
DiscourseAi::Translation: Failed to translate topic 563 to de: Validation failed: Title can't be blank, Fancy title can't be blank /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.3/
DiscourseAi::Translation: Failed to translate post 582 to pl_PL: Validation failed: Raw can't be blank, Cooked can't be blank /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.3/lib/a
The strange thing about it is:
- Mentioned posts and topics look pretty normal, they have different kinds of title and bodies, both simple and complex. Similar ones got translated successfully
- On a second or third attempt they often get translated successfully
- I’m using a custom persona for Posts, but this happens on a built-in Post Translator persona as well as on the built-in topic title translations one
- It happens on all models I tested: Gemini-2.5-flash (non thinking), Gemini-2.5-flash (thinking), GPT5 and GPT5-mini
- It happens on all locales equally (en, es, pt, de, pl_PL, fr, nl)
Is it possible to log the full prompts and model responses to debug this further?
I’m testing the same prompts manually on all of these models and they always respond successfully.