0
Answered

Want to captures issue that raised from sitepal

gurpreetsingh936 2 weeks ago in SitePal Gold updated by Gil Sideman 2 weeks ago 2

I'm working with an avatar component in a React.js application, and I want to know if there's a programmatic way to detect issues during various stages, such as:

  • Loading the avatar

  • Triggering the avatar to speak

  • Stopping the avatar

Are there any callback functions, events, or listeners that notify us when something goes wrong?

For example, I want to handle situations like:

  • Subscription/plan has expired

  • Streaming limit has been reached

  • The service is temporarily unavailable

  • Network connectivity issues

Is there any built-in error handling mechanism or event hook that can notify us when such issues occur?

Under review

Hello Gurpreet -
Please see 'Error Handling' section in the Client API Reference doc's Introduction. p. 7 here - https://www.sitepal.com/docs/SitePal_API_Reference.pdf


As
you can see - we do not provide everything you ask about programmatically.But speech functions do return status codes which makes it possible for you to log failures and create your own notification mechanism.

Separately, we can add you to our automated system notifications list. This mechanism runs unit tests on all systems every few minutes and sends out automated alerts in case of failure.

If interested - pls send a note to support@sitepal.com

Regards,

Gil