Returning a custom error message

Is it possible to return a custom error message along with the INSearchForAccountsIntentResponseCode? For the life of me I can't find any way to return a custom message with each of the following error codes:


  • unspecified
  • ready
  • inProgress
  • failure
  • failureNotEligible
  • failureRequiringAppLaunch
  • failureCredentialsUnverified
  • failureAccountNotFound
  • failureTermsAndConditionsAcceptanceRequired


If not, what is recommended way of providing a more user friendly message when intents fail.


Any help would be greatly appreciated.

Replies

Customizing the messages for a system intent is not possible. Could you describe the specific scenario of what error code you are using and what you'd like to enhance? In some cases, a different approach in your code may lead to better results. but for other cases, the best thing is to file an enhancement request describing your use case.