Looks like you're doing url = path + query
when you might need to do url = path + "?" + query
- the query string isn't separated, which means you end up requesting a path like https://app.asana.com/-/oauth_authorizeclientId=...
which isn't recognized: hence, "no route found".
Hope that helps!