Fail to create organisation after click submit button

Template for a good new topic, formatted with Markdown:

  • ALM used: GitHub
  • CI system used: AWS CodePipelines
  • Scanner command used when applicable (private details masked)
  • Languages of the repository: Python
  • Error observed: URL is invalid
  • Steps to reproduce:

I log in as [admins@abc.com]and try to link my GitHub organization ABC to SonarCloud organisation. After I input all my info including credit card details and click submit button. I always got the following error: “URL is invalid”.

Could you let me know how I can create a paid account with org, please?

Here is the request I grab from the Chrome dev tool:

Request URL: https://sonarcloud.io/api/organizations/create 
Request Method: POST 
Status Code: 400 
Remote Address: [52.57.31.235:443](http://52.57.31.235:443/) 
Referrer Policy: no-referrer-when-downgrade 
Form Data: avatar: https://avatars2.githubusercontent.com/u/443072?v=4 
description: key: ABC name: ABC Limited 
url: [www.abc.com](http://www.abc.com/) 
installationId: 9094230 

Response: {"errors":[{"msg":"URL is invalid"}]}

It seems you used Markdown formatting on GitHub for your URL: instead of http://www.abc.com/ the GitHub URL is [www.abc.com](http://www.abc.com/).

When importing your organization from GitHub you can click the button Add additional info while you are in Step 1: Import organization details. You can then edit your URL to be http://www.abc.com/.

That should fix the error you are experiencing!