Main component does not belong to specified organization

Hi, and welcome to the community!

Could you please make sure that both organization and projectKey you have set are good ones ?

Most likely this error occur when the one or another is wrong and does not belong to the organization set.

If you need more help, and your project is built with Gradle or Maven, then this other thread might also provide some hints. Otherwise let us know how you run the scanner.