Fixed return code on PUT record attachment