AnsweredAssumed Answered

Data API Find Query Issue

Question asked by fmdataweb on Feb 12, 2018
Latest reply on Feb 13, 2018 by fmdataweb

I'm having an issue using the new Data API in v16 when searching for a value that contains spaces. For example if I search using the following JSON:

 

{"query":[{"Status":"Paid"}]}

 

this works successfully, but using this:

 

{"query":[{"Status":"Unpaid Overdue"}]}

 

returns a 400/bad request error. I've tried encoding the space like this:

 

{"query":[{"Status":"Unpaid%20Overdue"}]}

 

but that returns a 401/no records found error.

 

Anyone spot what I'm doing wrong here?

Outcomes