Start a new topic

Query parameters having space results in server error : REST API


I am trying to query using REST API but i am unable to fetch the matching result. My query parameter has space in it. i.e. <url>?query={"name":"zzz xxx"}

if i use url encoding even the { , " and : gets encoded and i get server error.

If i only replace space with %20 the request succeeds but i am getting [] even when there is a matching item.


1 Comment

Hi Amit,

How are you trying this query? Are you using the Kinvey API console or an SDK? Also, can you please share about the errors you are getting?

I'm able to execute a similar query without any issues with Kinvey API console. And that means the REST API works as expected.



Kinvey Support

Login or Signup to post a comment