Bad ref to api_url