Error handler for dictionary lookup failures

Hide the dictionary card if the api response is a failre

Change-Id: I1998e87aa01f602995000b32d936621e454f977f