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
Uploading a webhook avatar from url fails with the following error:
May-2-2020 19:44:05.276 +00:00 info [WebService [Hook QR6ECFaVVz7Gnqf9GvhmA6qjbn0vVEzLjHIisQLaiMdEEsCsbNCoCYxhnEalNuWp]] Publishing webhook request for processing
May-2-2020 19:44:05.279 +00:00 info [WebhookBridge] Updating appearance of @_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook:nerdsin.space
May-2-2020 19:44:05.350 +00:00 info [WebhookBridge] Updating display name from '_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook' to 'My Cool Webhook' on @_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook:nerdsin.space
May-2-2020 19:44:05.420 +00:00 info [utils] No content-type given by server, guessing based on file name.
Returning the raw JSON from uploadContent(). Future versions of the js-sdk will change this default, to return the parsed object. Set opts.rawResponse=false to change this behaviour now.
May-2-2020 19:44:05.422 +00:00 error [matrix-appservice-bridge] [-] POST https://nerdsin.space/_matrix/media/v1/upload (@_webhook:nerdsin.space) HTTP null Error: {}
May-2-2020 19:44:05.425 +00:00 error [UploadContent] Failed to upload content:
Error: Argument error, options.body.
May-2-2020 19:44:05.426 +00:00 info [WebhookBridge] Updating avatar for @_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook:nerdsin.space
May-2-2020 19:44:05.444 +00:00 error [matrix-appservice-bridge] [-] PUT https://nerdsin.space/_matrix/client/r0/profile/%40_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook%3Anerdsin.space/avatar_url (@_webhook__StrPtLURixPXnphmTc_nerdsin_space_My_Cool_Webhook:nerdsin.space) HTTP 400 Error: "{\"errcode\":\"M_MISSING_PARAM\",\"error\":\"Missing key 'avatar_url'\"}"
May-2-2020 19:44:05.445 +00:00 error [WebhookReceiver] Missing key 'avatar_url'
undefined
My server runs matrix-media-repo which may have something to do with this error.
The text was updated successfully, but these errors were encountered:
I have the same issue. I tried changing the json key avatarUrl to avatar_url, in which case I get this:
Oct 30 10:19:09 majestix matrix-appservice-webhooks[12791]: Oct-30-2020 10:19:09.444 +00:00 info [WebhookBridge] Updating appearance of @_webhook__sCnSgtRcSwvjDivpBN_1m_at_Sonarr:1m.at
The message is delivered, but the appearance of the webhook is in fact not updated.
If I supply both json keys, I get both the error @starcraft66 posted as well as the confirmation I included above, and the message is not delivered.
Uploading a webhook avatar from url fails with the following error:
My server runs matrix-media-repo which may have something to do with this error.
The text was updated successfully, but these errors were encountered: