Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: relay publish fails with 400 Bad Request when message contains an unknown field #2437

Open
fbarbu15 opened this issue Feb 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fbarbu15
Copy link
Contributor

Problem

Similar to #2436 but in this case the field should be just ignored

To reproduce

  1. Use a payload like {"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": 1707989890656837632, "extra": "extra"}

Actual behavior

400 Bad Request with Invalid content body, could not decode. Unable to deserialize data

Expected behavior

Should work and the extra field should be ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Icebox
Development

No branches or pull requests

2 participants