Moving email to a subfolder of inbox in gmail imap

When I move an email from INBOX to a subfolder of INBOX (eg INBOX/Jokes) i get an error saying unable to upload message [TRYCREATE]

But the message is actually moved

It works perfectly if the folder isnt under INBOX

I am sorry for the delayed reply, do you still experience the issue? If so, send us your IMAP logs please.