Oddbean new post about | logout
 Yes, I know I was fighting with this, and other stuff transmitted by relays xD I would like to have validation in ndk of some fields like this one that may break the nostr 
 Event.publish() does report if an event wasn’t published to the mimnimum requires number of relays; it throws a RelayError or something like that with all the errors the relays returned

Leaving an action item for myself here: #ndk add error handling to the guides documentation 
 Thank you Pablo. FWIW… I had to use relay.publish() to get the actual OK `message` (4th element in array) sent by rely (regardless of `accepted` 3rd element), because event.publish() only returns a list of relays who send OK with `accepted` == `true`. 
 Yes, its true, but sometimes relays send archaic notices, so can be tricky for some situations, also I was talking about validation of some fields, like LUD06 and 16 in the user profile, I opened an issue some time ago, but seems no one looked at it. I can also open a PR
https://github.com/nostr-dev-kit/ndk/issues/272