19:20:47.619 DEBUG: GET 403 https://ea6ne4j2sb.execute-api.eu-central-1.amazonaws.com/current/v1/sensor_cache/prepare_read?organization=XXX&project=YYY&branch=master | time=388ms
19:20:47.622 ERROR: Failed to prepare download of the sensor cache
org.sonar.api.utils.MessageException: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator
Steps to reproduce
Followed the walkthrough found here: SonarCloud
Potential workaround
Theres pretty much the exact same issue here: 403 error sensor cache
Which says that this issue is fixed, so not sure if this is the same?!?
Is this token being stored as a repository/account variable? If so, you shouldn’t need to include this in your YAML – and I wonder if it will make a difference. What happens if you remove this from your YAML?