crisboarna / fb-messenger-bot-api

NodeJS Facebook Messenger API for bots to send messages and setup events to Facebook.
https://www.npmjs.com/package/fb-messenger-bot-api
MIT License
34 stars 17 forks source link

The IGenericTemplateElement interface default_action missing a required "type" attribute #74

Closed mohyt closed 5 years ago

mohyt commented 5 years ago

The IGenericTemplateElement interface default_action missing a required "type" attribute

As per https://developers.facebook.com/docs/messenger-platform/reference/template/generic/

the type "attribute" is required field in the "default_action", I am getting following error:

11-26 17:17:17.063|INFO|{"message":"(#100) The parameter name_placeholder[elements][0][default_action][type] is required","type":"OAuthException","code":100,"fbtrace_id":"C1mIng0Y5Ls"}

crisboarna commented 5 years ago

:tada: This issue has been resolved in version 4.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: