I have made REST API callout to get products based filter criteria. Following is the endpoint. http://xxxxxxxx/magentodemo/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=updated_at& searchCriteria[filter_groups][0][filters][0][value]=2018-08-24 08:35:37&searchCriteria[filter_groups][0][filters][0][condition_type]=eq
. I got response as below.
{"message":"Internal Error. Details are available in Magento log file. Report ID: webapi-5b9f70d36a6c1"}.
I have gone through log file to check the Error Details.
[2018-09-17 09:16:03] main.CRITICAL: Report ID: webapi-5b9f70d36a6c1;Message: Invalid URI supplied {"exception":"[object] (Exception(code: 0): Report ID: webapi-5b9f70d36a6c1;Message: Invalid URI supplied at C:\\xampp\\htdocs\\magentodemo\\vendor\\magento\\framework\\Webapi\\ErrorProcessor.php:205,Zend_Uri_Exception(code: 0): Invalid URI supplied at C:\\xampp\\htdocs\\magentodemo\\vendor\\magento\\zendframework1\\library\\Zend\\Uri\\Http.php:156)"} []
Best Answer
Try this one instead, i think you have to encode the date, you have problem in the endpoint