fixed with Uri.parse e.g ```` final request = await http.get( Uri.parse("https://api.github.com/repos/$username/$repoName"), headers: {"Authorization": "token $accessToken"}); ````