ReferenceError: apiToken is not defined