I'm building an app using Api.ai with where I need to respond to an Intent named Login by a basic card. I'm trying this without webhook fulfillment. By Api.ai try section my query returns this:
{
"id": "bb09aa94-a2d0-48d5-8c7f-62fc688d17b1",
"timestamp": "2017-07-06T13:19:30.776Z",
"lang": "en",
"result": {
"source": "agent",
"resolvedQuery": "login",
"action": "Login",
"actionIncomplete": false,
"parameters": {},
"contexts": [],
"metadata": {
"intentId": "39842aa0-53c4-4d47-b3b7-61ba0fc6d80c",
"webhookUsed": "false",
"webhookForSlotFillingUsed": "false",
"intentName": "account.login"
},
"fulfillment": {
"speech": "You should visit http://www.curlpad.com for login.",
"messages": [
{
"type": "basic_card",
"platform": "google",
"title": "Login to Curlpad",
"subtitle": "",
"formattedText": "Visit this link to login to your account",
"image": {
"url": "http://www.curlpad.com/favicons/apple-icon.png"
},
"buttons": [
{
"title": "Curlpad",
"openUrlAction": {
"url": "http://www.curlpad.com"
}
}
]
},
{
"type": 1,
"platform": "telegram",
"title": "Curlpad | Login",
"subtitle": "Click on login button to continue",
"imageUrl": "http://www.curlpad.com/favicons/apple-icon.png",
"buttons": [
{
"text": "Login",
"postback": "http://www.curlpad.com/"
}
]
},
{
"type": 0,
"speech": "Open this url http://www.curlpad.com"
}
]
},
"score": 1
},
"status": {
"code": 200,
"errorType": "success"
},
"sessionId": "7ba9cd11-239c-4467-8c3f-2d79d867ba18"
}
The telegram card works fine on my telegram bot, but gives an error on Actions on Google.
Here is the response on Actions Simulator:

Other query works fine on that simulator. Can anyone help to make this work? I've one more intent to search user which works using webhook fulfillment, there also I'm getting the same problem while returning basic_card.
Screenshots of intent response with the try on api.ai:



Error Type MalformedResponse expected_inputs[0].input_prompt.rich_initial_prompt.items[1].basic_card.image: 'accessibility_text' is required.- J Shubham