Fixes missed error handling in accounts and messages.

Started branch to handle the missing error handling tests from request in accounts and messages, but noticed that parser errors are not handled, and therefore fixed them too.