Throw when setting apiUrl or managerUrl to null