local testing requires including vendor for examples
improved error reporting with status code