Your question
I’m trying to update a new account with the following JMAP request:
{
"using": [
"urn:ietf:params:jmap:core",
"urn:stalwart:jmap"
],
"methodCalls": [
[
"x:Account/set",
{
"update": {
"e": {
"aliases": [
{
"enabled": true,
"name": "t.est",
"domainId": "b",
"description": null
}
]
}
}
},
"a"
]
]
}
But I get the following response:
{
"methodResponses":[
["x:Account\/set",{
"accountId":"b",
"notUpdated":{
"e":{
"type":"invalidPatch",
"description":"Invalid value for object property",
"properties":["aliases"]
}}},"a"]
],
"sessionState":"da906780"
}
Any ideas?
Aliases is supposed to be an array, at least it’s returned as one for existing accounts with aliases.
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