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

Reply to this note

Please Login to reply.

Discussion

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`.