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
The payload sent using the 'test' button is different from a real webhook invocation.
Webhook テストはペイロードが本番ペイロードと一致しません
🥰 Expected Behavior
Test payload should have the same data structure as the real one.
🤬 Actual Behavior
The test payload looks like: {"eventId": xxx, "body": <body>}
Example
{"server":"https://mi.yumechi.jp","hookId":"9zrajfd0cq2o01rz","userId":"9vaew1esmfme0001","eventId":"d958f07e-65bc-4af7-89e0-c38eb2edc2e7","createdAt":1730138740207,"type":"reply","body":{"id":"dummy-reply-1","createdAt":"2024-10-28T18:05:40.207Z","deletedAt":null,"text":"This is a dummy note for testing purposes.","cw":null,"userId":"dummy-user-1","user":{"id":"dummy-user-1","name":"DummyUser1","username":"dummy1","host":null,"avatarUrl":null,"avatarBlurhash":null,"avatarDecorations":[],"isBot":false,"isCat":true,"emojis":[],"onlineStatus":"active","badgeRoles":[]},"replyId":"dummy-note-1","renoteId":null,"isHidden":false,"visibility":"public","mentions":[],"visibleUserIds":[],"fileIds":[],"files":[],"tags":[],"poll":null,"emojis":[],"channelId":null,"channel":null,"localOnly":true,"reactionAcceptance":"likeOnly","reactionEmojis":{},"reactions":{},"reactionCount":0,"renoteCount":10,"repliesCount":5,"reactionAndUserPairCache":[],"clippedCount":0,"reply":{"id":"dummy-note-1","createdAt":"2024-10-28T18:05:40.207Z","deletedAt":null,"text":"This is a dummy note for testing purposes.","cw":null,"userId":"dummy-user-1","user":{"id":"dummy-user-1","name":"DummyUser1","username":"dummy1","host":null,"avatarUrl":null,"avatarBlurhash":null,"avatarDecorations":[],"isBot":false,"isCat":true,"emojis":[],"onlineStatus":"active","badgeRoles":[]},"replyId":null,"renoteId":null,"isHidden":false,"visibility":"public","mentions":[],"visibleUserIds":[],"fileIds":[],"files":[],"tags":[],"poll":null,"emojis":[],"channelId":null,"channel":null,"localOnly":true,"reactionAcceptance":"likeOnly","reactionEmojis":{},"reactions":{},"reactionCount":0,"renoteCount":10,"repliesCount":5,"reactionAndUserPairCache":[]},"renote":null,"myReaction":null}}
The real payload looks like {"eventId": xxx, "body": {"note": <body>}.
💡 Summary
The payload sent using the 'test' button is different from a real webhook invocation.
Webhook テストはペイロードが本番ペイロードと一致しません
🥰 Expected Behavior
Test payload should have the same data structure as the real one.
🤬 Actual Behavior
The test payload looks like:
{"eventId": xxx, "body": <body>}
Example
The real payload looks like
{"eventId": xxx, "body": {"note": <body>}
.Example
Ref: eternal-flame-AD/gotify-webhook-misskey@7a93227
📝 Steps to Reproduce
Actually trigger the webhook.
Compare the payload.
If you use cloudflared, you can get an 'Internet HTTP sink' easily by
sudo cloudflared tunnel --url http://localhost:6060
socat tcp4-listen:6060 STDOUT
💻 Frontend Environment
Not frontend problem.
🛰 Backend Environment (for server admin)
Bug also present on
pari.cafe
andmisskey.flowers
Do you want to address this bug yourself?
The text was updated successfully, but these errors were encountered: