show error of api call (can be denied permission)

Signed-off-by: Oleg Verych <olecom@gmail.com>