You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example I try to run a batch request to get 3 folders for the same account.
Please try to indent and read the output of get_fault_message(). You'll notice that the request syntax is wrong!
The problem shows up adding 3 or more batch requests.
In the following example I try to run a batch request to get 3 folders for the same account.
Please try to indent and read the output of get_fault_message().
You'll notice that the request syntax is wrong!
The problem shows up adding 3 or more batch requests.
Script:
Output:
request id(s): 1 2 3 True service.PARSE_ERROR parse error: expected character: { found:[: {"Header": {"context": {"_jsns": "urn:zimbra", "format": {"type": "js"}, "authToken": {"_content": "REMOVED"}}}, "Body": {"BatchRequest": {"_jsns": "urn:zimbra", "onerror": null, "GetFolderRequest": [[{"folder": {"path": "/Inbox"}, "_jsns": "urn:zimbraMail", "requestId": 1}, {"folder": {"path": "/Sent"}, "_jsns": "urn:zimbraMail", "requestId": 2}], {"folder": {"path": "/Trash"}, "_jsns": "urn:zimbraMail", "requestId": 3}]}}}
Is my code correct?
If so, could you please fix this issue?
Thank you.
The text was updated successfully, but these errors were encountered: