Lines exceeds your organization plan


my sonarcloud
The current plan is (100k private lines of code for €10 per month), my repo code is very below that, but here showing (your number of lines exceeds your organization plan), I still have LOC End of trial version in 12 days(Next charge will be on July 31, 2021)

The error we are seeing is:

Digest: sha256:fefdf81312845d1773ec5dbb285f1628025f1496bda7a92e1d9f5f9994999a96

Status: Downloaded newer image for sonarsource/sonarcloud-quality-gate:0.1.4

✖ Quality Gate failed: Could not fetch quality gate status: b'{"errors":[{"msg":"Analysis with id \'None\' is not found"}]}'

Our Bitbucket pipeline is defined as follow:


  • sonar
  • pipe: sonarsource/sonarcloud-scan:1.2.1
  • pipe: sonarsource/sonarcloud-quality-gate:0.1.4

Hi @Aiyub_Khan, welcome to the community forum

Could you please give us the logs produced by the sonarsource/sonarcloud-scan pipe, in DEBUG mode?
You say your project has much less than 100k lines of code. I suppose you don’t have any other private project on the same organization that could use the remaining LOCs.
Are you sure the analysis scope is correctly configured to only consider your project code, and for example to exclude all the libraries, binaries, and compilation output? If such big files are considered as code by the Sonar Scanner (for example if they are in a non-standard library directory), it can explain why the threshold is reached.