Add try/except in api for now to get exception