Fixed bug where we look for base_api_url instead of url