authorization examples and error object