handle token request errors
refactor array validation error cascade
update README
remove unnecessary `if`
Merge pull request #1 from easybiblabs/topics/handle-token-request-errors

Handle token-request errors