Issue with 'merge' action using Policy Updater

Hi everyone,
Could someone help me with Policy Updater? Every time I am trying to make a request with the 'merge' action I am getting an "Error while processing categories" error. Has someone faced such an issue? If yes how it could be fixed? Here is the request itself:
{
"requestJobDescription": {
"type": "update",
"categories": {
"data": [
{
"name": "Goods",
"enabled": true,
"areCommentsRequired": false
}
],
"action": "merge"
},
"credentials": {
"partnerUserID": *,
"partnerUserSecret": *
},
"inputSettings": {
"type": "policy",
"policyID": "84C48A88B14EE243",
"reportFields": {}
}
}
}
Credentials are replaced by '*'
Thanks in advance for your help!
Answers
-
Hi @AverageVlad
Hmm, I am not super sure what you are referring to, would you write into [email protected] so we can walk through this with you step by step?
Thanks!
-
Hello @Zany Renney ,
Funny thing, I was talking with the concierge about this issue, but we were not able to find out the solution, so he/she said that asking here would a good way to solve that issue :)
-
Hi @AverageVlad ,
Did you find a solution to your error? I am having the same issue.
Thanks Raygun96
-
Hello @Raygun96
Kind of. Support said that the 'merge' action doesn't work properly, so it's better to use 'replace' for all API calls.
-
@AverageVlad I am speechless. Thank you for responding so quickly.
-
Christina Dobryzynski Expensify Success Coach - Admin, Expensify Team, Expensify Student Ambassador Posts: 268 Expensify Team
Amazing! Thanks so much for the help @AverageVlad!