onesignal-node-api icon indicating copy to clipboard operation
onesignal-node-api copied to clipboard

[Docs]: Improve error display | Add better samples for email and sms notifications

Open AyresMonteiro opened this issue 2 years ago • 0 comments

What's on your mind?

I had to use axios in order to figure out what's happening in my 400 status code request due to errors being show as GenericErrorErrorsInner without clear error messages.

It would be simpler if docs had a sample of sms notification requiring sms_from prop, and an equivalent sample for email notification sending.

I would appreciate it if the documentation was improved in this regard.

Indeed, notification type not contains include_subscription_ids prop.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

AyresMonteiro avatar Sep 29 '23 21:09 AyresMonteiro