I had the same error message whrn I tried to create my app platform from Git hub repo(.Net 8 API) what I did was put the path name of the repo "on the field "Source directories (Optional)", in my case the name was /myApp