Last analysis failed Analysis ID "302dda55-2620-4421-a627-4754adac0814"

I can’t setup my project. any help welcome

Hi @salomoce,

Welcome to the Sonar Community!

I check the logs for this Analysis ID, and here is the error:

ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator

It seems that you have an incorrect configuration file on the root of your project. Please check it as it might contain some wrong values, maybe it was copied from another project?

Regards,
Ismail

I don’t see any sonar.properties or other config files. Which file should I look for ?
I just delete and recreate the project, but I have always the same error.
Analysis ID “8323862f-63ce-4a39-99d8-f602b905b4ba” for this last case.

There is a new error for this analysis

ERROR: Error during SonarScanner execution
ERROR: Can not start analyzing because Automatic Analysis is disabled

This can happen if you enabled/disabled the Automatic Analysis feature to quickly from project configuration in SonarCloud interface.

Are you sure you don’t have a sonar-project.properties at the root of your project? Also, did you edit any configuration in the project on the SonarCloud interface itself?

Regards,
Ismail

Hi @salomoce,

I sent you a private message to get more details about the project.

Regards,
Ismail

The issue was due to an incorrect project setup and was fixed through a private thread.

Ismail