Fixed the Bad Request error

## v0.1.3207
## for Issue #42
Inserted an errorhandler 400