Unable to upload cookbook on chef server

Greetings masters

I am unable to upload any cookbook on chef server. Just to be sure that my cookbook does not have any unnecessary flaws, I created a test cookbook and without making any changes, I tried to upload it. I ran into following error:

ERROR: ArgumentError: too short control escape

Looking for guidance.

Regards
Manish Mehra

Can you give some further information like the name of the cookbook, and version of client/server?