Updating for error response parsing. Still need to update for 'complete' messages in error response...