Insert with proper error message