You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
I followed the same example of yahoo-weather and based on the same only i put the default response assuming on failure of webhook response the default response will pop up. But, i am getting error simple_response fulfillment message type unsupported in API
AIWebhookServlet.java in my code to receive the data and parse. Exactly in the
doWebhook(gson.fromJson(request.getReader(), AIWebhookRequest.class), output); its failing in case of default response if i add. If i remove the default response then response from server comes but, if the server failed to respond then default error response is not poping up.
thanks,
gubs
The text was updated successfully, but these errors were encountered:
Thanks @folomeev . I took libai code from master and everything working fine as expected.
I had given TextResponse along with webhook fulfillment and the response comes webhook properly without error. Also, when the webhook server down, i get proper response from TextResponse.
I followed the same example of yahoo-weather and based on the same only i put the default response assuming on failure of webhook response the default response will pop up. But, i am getting error simple_response fulfillment message type unsupported in API
https://github.com/api-ai/apiai-java-client/blob/master/web/servlet/src/main/java/ai/api/web/AIWebhookServlet.java and i am using same
AIWebhookServlet.java in my code to receive the data and parse. Exactly in the
doWebhook(gson.fromJson(request.getReader(), AIWebhookRequest.class), output); its failing in case of default response if i add. If i remove the default response then response from server comes but, if the server failed to respond then default error response is not poping up.
thanks,
gubs
The text was updated successfully, but these errors were encountered: