Attachment Unavailable for Herocards in Facebook channel Bot Framework c#

Herocard should be rendered in Facebook
Attachment Unavailable
Having the same problem now, but with Node.js. For absolutely all bots that I have. Both when using the bare botbuilder package, and also when using the botkit package.
My code:
bot.dialog('/', [
function (session) {
var msg = new builder.Message(session).sourceEvent({
facebook: {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Breaking News: Record Thunderstorms",
"subtitle": "The local area is due for record thunderstorms over the weekend.",
"image_url": "https://imgsv.imaging.nikon.com/lineup/lens/zoom/normalzoom/af-s_dx_18-140mmf_35-56g_ed_vr/img/sample/sample1_l.jpg",
"buttons": [{
"type": "postback",
"title": 'See',
"payload": 'see'
}]
}]
}
}
},
});
session.send(msg);
session.send("Hi... I'm the Microsoft Bot Framework demo bot for Facebook. I can show you everything you can use our Bot Builder SDK to do on Facebook.");
}
]);
The thing is it was working fine till yesterday, hence this is not a code issue from my side. and this issue is appearing only in Facebook channel, it works fine for WebChat.
@durgeshNdas does it work now? it started to work for me.
Apparently a temporary facebook issue.
Update: the attachment starts showing up, but only after you reload the page in browser (I am using messenger.com on desktop).
It still gives attachment unavailable for me. However if i refresh the page, it shows the options. Is it the same case for you ?
@durgeshNdas Yes. Shows up after page refresh.
Same here. "Attachment Unavailable" issue on generic templates and postback buttons. It was working until this morning.
const ConvertAddressToGenericTemplateElements = (apiAddressJson, recipientId, callback) => {
var genericTemplateElements = '[';
apiAddressJson.Dataset.forEach(function (obj) {
genericTemplateElements += '{';
genericTemplateElements += "title": "${obj.AddressName}",;
genericTemplateElements += "image_url": "https://.........................",;
genericTemplateElements += "subtitle": "${obj.AddressText}",;
genericTemplateElements += '"buttons": [';
genericTemplateElements += '{';
genericTemplateElements += '"type": "postback",';
genericTemplateElements += '"title": "Adresi Se莽",';
genericTemplateElements += "payload": "{ \\"type\\": \\"SELECT\\"}";
genericTemplateElements += '},';
genericTemplateElements += '{';
genericTemplateElements += '"type": "web_url",';
genericTemplateElements += '"title": "Yeni Adres Ekle",';
genericTemplateElements += "url": "https://................",;
genericTemplateElements += '"webview_height_ratio": "compact",';
genericTemplateElements += '"messenger_extensions": "true"';
genericTemplateElements += '}';
genericTemplateElements += ']';
genericTemplateElements += '},';
});
genericTemplateElements = genericTemplateElements.replace(/,s*$/, "");
genericTemplateElements += ']';
var resObj = JSON.parse(genericTemplateElements);
callback(resObj);
};
it has been resolved now, as i see the attachments being retrieved.
Thanks for letting us know 馃憤 I was in the middle of looking into this. It looks like it was an issue on facebooks end though. We haven't changed anything today.
Is this still not working for anyone else?