400 error code when params are missing , refs #41