raise ApiError('User not authorized for publishing.')
else:
raise ApiError("WL API call error %s, path: %s" % (status, path))
raise ApiError('User not authorized for publishing.')
else:
raise ApiError("WL API call error %s, path: %s" % (status, path))