Error: Error in getting the response to the API GET api/qualityprofiles/search... for specific parameter language(C++)

Hi
I am getting error in response to this API api/qualityprofiles/search for only one parameter [language=c++] for other parameters it is working fine.

URL:-https:/api/qualityprofiles/search?project=&language=c++

{“errors”:[{“msg”:“Value of parameter ‘language’ (c) must be one of: [ada, c++, cs, css, delph, flex, go, grvy, java, js, jsp, kotlin, perl, php, plsqlopen, py, ruby, scala, ts, vbnet, web, xml, yaml]”}]}

Thanks in advance

Hello Charul,

welcome to the community! You have to url-encode the plus sign, so c%2B%2B instead of c++.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.