Problem with Updating Inbox Avatar Using PATCH Method in Chatwoot

TLDR eduardo.chaves encounters issues while attempting to update an inbox avatar using a URL and base 64 following the documentation. Despite receiving a code 200, the changes aren't implemented.

Photo of eduardo.chaves
eduardo.chaves
Tue, 10 Oct 2023 19:49:08 UTC

I tried to update an inbox avatar through URL and base 64, using the PATCH update explained in the docs: https://chatwoot.com/developers/api/#tag/Inboxes/operation/updateInbox. But when I try to set a value for "avatar" it throws me a code 500. I also tried using "avatar_url" (as it shows on the request's output) and it works as code 200, but it didn't actually changed the value and the proper inbox avatar. Chatwoot 3.1.1 (Customized) API version: v1 Linux installation on VM: Ubuntu server 20.04

Photo of eduardo.chaves
eduardo.chaves
Wed, 11 Oct 2023 12:14:06 UTC

I'm using local storage, and this is the postman's output showing the error.

Photo of eduardo.chaves
eduardo.chaves
Wed, 11 Oct 2023 12:14:38 UTC

`cwctl -l worker` and Sidekiq didn't show anything, but `cwctl -l web` showed this:

Photo of eduardo.chaves
eduardo.chaves
Wed, 11 Oct 2023 12:17:57 UTC

using `avatar_url` works but only change the name attr

Photo of eduardo.chaves
eduardo.chaves
Wed, 11 Oct 2023 12:21:27 UTC

But I guess it just ignores other unknown values, like this one I added...