SYMPTOM:
When creating a new REST-JSON XQuery through Xquery Editor and Generator, the following error appears after selecting "Capture Response" in the Response Definition tab:

mstr-rest:post() failed. 505 HTTP Version Not Supported. The server does not support the HTTP protocol version used in the request.
Error type: XQuery Engine error. HTTP Error. Connection String:.
The URL and HTTP method have been included in the HTTP URL and Method section, as shown below:

CAUSE:
HTTP error 505 is usually an indicator that the URL submitted to capture the reponse, which is created using the URL and HTTP method parameters from the "HTTP URL and Method" tab, is wrong. In this particular instance, the error occurs because there is a space in the project value: Strategy Tutorial.
ACTION:
Make sure the syntax in the HTTP Method section is correct. Blank spaces should be replaced with the + symbol.
KB47553