Your question
I have e.g. the user ‘ralf’ from the domain ‘example.org’, Now I try to get his account-data via JMAP with the following request:
{
"methodRequests": [
["x:Domain/query", {
"filter": {
"name": "example.org"
} }, "a"],
["x:Account/query", {
"filter": {
"name": "ralf",
"#domainId" => {"name": "x:Domain/query", "path": "/ids", "resultOf": "a"},
} }, "b"],
],
"using": ["urn:ietf:params:jmap:core", "urn:stalwart:jmap"]
}
But instead of the existing account, I got the following error:
{
"methodResponses":[
["x:Domain\/query": {
"accountId":"b",
"queryState":"n",
"canCalculateChanges":true,
"position":0,
"ids":["b"]
}, "a"],
["error": {
"type":"unsupportedFilter",
"description":"#domainId"
},"b"]],
"sessionState":"a5401889"
}
What is the problem here?
Does “filter” not allow JMAP references?
Ralf
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on