My bad, forgot to use to function to get the API base path