Error2 reports
Fix BlockedPromptException
in MetaGPT
✅ Solution
BlockedPromptException usually arises when the language model flags your prompt or generated content as potentially harmful or violating its safety guidelines. To resolve this, rephrase your prompt to be less ambiguous, remove potentially sensitive keywords, and ensure it clearly aligns with ethical and safe AI practices; also, consider adjusting the model's safety settings (if available) to a less restrictive level if appropriate for your specific use case and risk tolerance.
Related Issues
Real GitHub issues where developers encountered this error:
Timeline
First reported:May 2, 2025
Last reported:Jul 10, 2025