Add reason to error response
Change Uid from string to uint64