An unexpected expression token is found.", "o:errorCode": 29140
creating AP Agent in AI Studio using:
/fscmRestApi/resources/11.13.18.05:9/invoices?q=InvoiceDate='{InvoiceDate}';Supplier='{Supplier}'
system returning:
Input
{
"query_dict": {
"q": "Supplier='JGA';InvoiceDate='2016-03-07'"
},
"resource_path": "/fscmRestApi/resources/11.13.18.05/invoices",
"headers": {},
"operation_type": "GET"
}
Output
{
"responseStatus": 400,
"response": {
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Failed to build ViewCriteria from expression "Supplier='JGA';InvoiceDate='2016-03-07'" using view object InvoiceHeader1. An unexpected expression token is found.",
"o:errorCode": 29140
}
]
}
}
Any guidance is appreciated.