TGViewer
Good dev knows Good dev knows @gooddevknows · 2K subscribers
Post #186 5.23K
🧪 ChatGPT hallucinations

Today I got tricked by ChatGPT. I asked it to help me write a custom AWS policy, and it quite confidently told me that I shall use
{"s3:RequestTag/validationProvider": "TEST"}
and everything will be great. So I did it this way, AWS accepted my code, but nothing was great, and the thing I wanted to work — did not.

After some time of googling and checking the AWS IAM UI I found out that there is no RequestTag for S3, but there is RequestObjectTag. I made that change, and it started to work as I wanted it to 🚀

Still, I can say ChatGPT saved me some time, but we shall not forget that we cannot trust it blindly. Honestly speaking, it wasn't a complete hallucination because there is such a thing as RequestTag at AWS; it just has a different context, not the S3 one.

Happy ChatGPT to everyone!
  • 👍 15
  • 👎 1
More from @gooddevknows
  1. Aug 27, 2026🛰 Я придбав Starlink! Ще поза-вчора вранці я не збирався купляти ніякий Starlink. Але, пр…
  2. Jul 1, 2026photo post
  3. Jul 1, 2026✨ Crash Course: Storytelling для інженерів ✨ 📅 9 — 13 липня 2026 1️⃣ Чому історії працюют…
  4. Jul 1, 2026Post #278
  5. Apr 1, 2026We have one ticket left for: https://fwdays.com/event/tech-lead-course-5 . Code LIFE_BY_PP…
  6. Mar 9, 2026Hi friends, For those who have missed it, I now regularly post in my 🇺🇦 channel: https:/…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →