Get Custom objects: Missing error validation for filterValues field

Get Custom objects: Missing error validation for filterValues field

Hi,

Please find below concern raised during the testing cycle. We are reporting this as an idea since it's a good to have feature in future.

If we enter an invalid filterValue in the filterValues field say, 123 instead of a valid email id in case the filter is on email, or abc instead of a valid value for filter on marketoGUID, it returns an empty result set.

It should say "Invalid filter value entered" or similar.

Request:

GET https://uat-partnerapi.rest.com.au/marketo/1.0.0/rest/v1/customobjects/oN24Attended_c.json?filterTyp... HTTP/1.1
Accept-Encoding: gzip,deflate
Authorization: Bearer 5cb196b3-4a2c-37d0-8a95-9144aa6cb991
marketoenv: SANDBOX
Host: uat-partnerapi.rest.com.au
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Response:
HTTP/1.1 200 OK
Access-Control-Allow-Headers: authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction
Access-Control-Allow-Methods: POST,GET
Access-Control-Allow-Origin: *
Content-Type: application/json;charset=UTF-8
Date: Mon, 21 May 2018 06:43:36 GMT
Content-Length: 59
Connection: keep-alive

{"requestId":"92f9#16381706252","result":[],"success":true}

Regards,

Evanthika

11 Comments
kh-lschutte
Community Manager
Status changed to: Open Ideas