Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Get_sections throw "Invalid characters in URI"

Hi!
Firstly I made request to get suites id.
api/v2/get_suites/24
And gets everything that I need:
{“id”: 2593, “name”: Ingests, …}
Then I try to make another get
api/v2/get_sections/24&suite_id=2593
And api throws “Invalid characters in URI” in my face! (code 400)
What can be wrong?
Thanks in advance! Ask me to provide more information.
Also if I try request without suite_id, api ask me directly for this field.
Exception in thread “main” java.lang.IllegalArgumentException: Error while getting test suites:2593. Reason: {“error”:“Invalid characters in URI: [api/v2/get_sections/24&suite_id=2593]”}