I am trying to create draft reply message for outlook but i am getting an error
{"error":{"code":"RequestBodyRead","message":"The parameter 'Comment' in the request payload is not a valid parameter for the operation 'CreateReply'."}}
I am sending the Comment parameter as json.
Related
I defined a new response to slackbot. The response should be for every message that contains "/pull".
It works well but when the message contains https:// then slackbot won't respond at all.
For example:
if the massage is: github.com/org/my-repo/pull/123
Slackbot will respond with the message I set. But for:
https://github.com/org/my-repo/pull/123
Slackbot will not respond.
We are trying to automate in MS teams that will :
Parse json
HTTP Post to API
Get HTTP Response
post comment to the chat using adaptive card.
We created a BOT using power automate, and we created a flow using :
for selected message
parse JSON
HTTP Post to API
Post comment to the chat. using adaptive card
But when we add "response" in power automate using below flow :
for selected message
parse JSON
HTTP Post to API
Response
Parse JSON body (parse body from Response).
Post comment to the chat. using adaptive card
Upon saving, we are getting this error :
Flow save failed with code 'WorkflowUnsupportedSplitOnTriggerForResponseAction' and message 'The workflow with 'Response' action type should not have triggers with 'splitOn' property defined: 'manual'.'.
Please advise the correct flow to rectify above issue ?
Moving from comment's section :
This is by design. You can only add the response flow step after the request action. The response for the trigger is available as properties. Please refer to this thread for a similar issue.
https://powerusers.microsoft.com/t5/Building-Flows/unable-to-use-a-response-action/td-p/378804
I have a Twilio SMS number configured to send a request to a WebServer via a Webhook URL. What I am trying to understand is can I pass the 'from' phone number and 'SMS body' as parameters in the Webhook URL?
For example:
https://myserver/v1/sms?phoneNo='FROM'&message='MSG'
I understand I can extract this information from the Body on the server but this would require additional coding, testing, deployment etc... on the web server.
Thanks.
Keep the URL as https://myserver/v1/sms (Twilio will add the parameters for you when it makes the request)
To the right of the webhook url field, change in the drop-down from HTTP POST to HTTP GET
Save
With this configuration, Twilio will send the parameters with its request as URL query parameters.
The names for the two parameters mentioned in your question are
From (The phone number that sent the message) and
Body (The text body of the message.).
Other parameters are: MessageSid, SmsSid, AccountSid, MessagingServiceSid, To, NumMedia
You can read more here: https://www.twilio.com/docs/sms/twiml#twilios-request-to-your-application
If you'd like to have your own names for the GET parameters
then, probably the easiest would be to use Twilio Studio with a HTTP REQUEST widget and configure the phone number with Studio Flow instead of Webhook.
The HTTP REQUEST will let you make a GET request and add your own parameters to it.
For the values you would use {{trigger.message.From}} for your phoneNo and {{trigger.message.Body}} for your message.
You can read more about Twilio Studio's widgets here: https://www.twilio.com/docs/studio/widget-library#http-request
If a user sends message to a bot while it's endpoint is unavailable or failed processing the message, the user receives an error message from Bot Connector, which seems like that:
POST to {SomeArbitraryBot} failed: POST to the bot's endpoint failed with HTTP status 502
or
POST to {SomeArbitraryBot} failed: A task was canceled.
etc.
Is there a way to customize logic of sending error message or to suppress it at all in such a case?
UPDATE
I posted a corresponding issue at Bot Builder GitHub repository.
I am attempting to delete a comment with an id value of
z13gwx5polebffepe04ch34zhmvfg1czqlo0k.
The request returns the following error:
{"error"=>
{"errors"=>
[{"domain"=>"youtube.comment",
"reason"=>"processingFailure",
"message"=>
"The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid.",
"locationType"=>"parameter",
"location"=>"id"}],
"code"=>400,
"message"=>
"The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid."}}
Is there a different API endpoint to delete comments that replies to other comments or is there another parameter that needs to be send along? From the documentation only id appears to be a valid parameter.
To delete any comment, You have to be the commenter of that comment or you have to owner of that video where comment has been done. If you are not than you can't delete that comment. Go to https://developers.google.com/youtube/v3/docs/comments/delete and find yourself.