Add error method for put case and fix recommendations