Not Able to Bind in Angular Project in Typescript

Please provide

  • Operating system: Windows 11
  • SonarLint plugin version: 10.12.0.79769
  • IntelliJ version: IntelliJ IDEA 2024.1 (Ultimate Edition)
  • Programming language you’re coding in: Typscript
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:

While trying to bind project getting below error after token is being generated ,

Failed to connect to the server. Please check the configuration. Cause: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 6 path $

Hello @vinay_garg, and thanks for reaching out to us.

Are you trying to connect to a SonarQube server or to SonarCloud?

Also, are you using any kind of proxy or SSO to authenticate? This error typically happens when the HTTP client tries to parse as JSON a response that is definitely not JSON - usually, it’s a HTML page with the proxy authentication error.