"The parent is missing." error when sending HTTP request with string body
See original GitHub issueDescribe the bug
“The parent is missing.” error when performing HTTP request with string body (required for x-www-form-urlencoded
)
Version
1.0.1
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Create a new HTTP request
- Set method: “POST”
- Set a url
- Set the body as string and write something. For example, “this is the body”
- Run the bot
- When the bot will try to run this action, the bot will write “The parent is missing.” in the chat
Expected behavior
Run the HTTP Request
Screenshots
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (7 by maintainers)
Top Results From Across the Web
Spring post method "Required request body is missing"
My issue was that, when I was making requests from Postman, the "Content-Length" header was unchecked, so service was not considering the ...
Read more >Send an HTTP request to SharePoint action in Microsoft Flow ...
There can be multiple reasons for this error. The most obvious reason is that the document that Flow is trying to update has...
Read more >POST - HTTP - MDN Web Docs
The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header....
Read more >Missing request body when handling a POST via superagent
That looks like you are sending a request body that is not string, nor Buffer. The error says you are giving an Object...
Read more >HTTP Status Codes List | HTTP Error Codes Explained
If the HTTP headers had been rejected, this ensures that the client does not send a request for the body. However, if the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in PR:https://github.com/microsoft/botbuilder-dotnet/pull/4064
@hraz-msft @rhalaly @triciasinclair Thanks for reporting this issue. I’ve got what you mean. This is a bug in the botbuilder-dotnet httprequest body handling logic. @zidaneymar will help to prepare a fix on this, and we will keep you posted.