show how to see errrors in api call