Show proper messages for api exceptions