I guess character at position 122 is somewhere in your API key. In contrast to web browser our nodes do not perform automated encoding of URLs. Therefore you have to make sure that the URL you provide only contains valid characters and characters that not valid in a URL (or the query part in this particular case) are encoded upfront.