The main is called ‘trunk’ for svn and ‘main’ for git.
https://apidocs.rnd.mendix.com/platformsdk/latest/classes/RepositoriesClient.html
Hi there,
This link might be useful for you. this error occurs due to invalid input to execute the request [invalid App id].
https://docs.mendix.com/apidocs-mxsdk/apidocs/app-repository-api/