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 }}
Repository navigation
Unable to send proactive messages to Slack platform #11
ERROR:microsoftbotframework.response:Error posting to Microsoft Bot Connector. Status Code: 400, Text {
"error": {
"code": "MissingProperty",
"message": "The bot referenced by the 'from' field is unrecognized"
}
}
Btw sending replies to slack works normally using:
I am not quite sure how you are constructing the message object. Can you show me the actual code you are using?
The from field is a pain as from is a reserved keyword in python so you set it using fromAccount rather than from. This might be the issue. I would need the code you are using the the first example to really help.
In the second example it looks like you are setting the from field to the user field which would explain why it fails there. And again I use fromAccount internally in place of the from field. It is not actually one of the fields that gets set to/from Microsoft.
Activity
mbrown1508 commentedon Aug 21, 2017
Hey,
I am not quite sure how you are constructing the message object. Can you show me the actual code you are using?
The from field is a pain as from is a reserved keyword in python so you set it using fromAccount rather than from. This might be the issue. I would need the code you are using the the first example to really help.
In the second example it looks like you are setting the from field to the user field which would explain why it fails there. And again I use fromAccount internally in place of the from field. It is not actually one of the fields that gets set to/from Microsoft.
Matt