kin-labs / kinetic

MIT License
40 stars 24 forks source link

Better error handling for failed Verify Webhook #514

Closed showered closed 1 year ago

showered commented 1 year ago

My Verify Webhook returns a 403 if it fails. This causes Kinetic to correctly reject the transaction. However, the errors aren't being reported properly.

It incorrectly reports the webhook as a success:

Screenshot 2022-12-12 at 17 00 05

There's no error message in Kinetic Manager:

Screenshot 2022-12-12 at 17 00 55 Screenshot 2022-12-12 at 17 01 36

There's no meaningful error message in client SDK (Android here):

Error: Expected an int but was NULL at path $.errors[0].instruction