Description of the issue:
I tried to send an HTTP POST request, but it’s not working. I have verified that the server is functioning correctly, as it responds to other requests.
Error message:
Action failed: No valid JSON body provided as POST request body. Please make sure your input is properly formatted as valid JSON.
Steps to reproduce this issue:
- Open the actions builder.
- Add the
Send http POST request
.
- Attempt to send the request, using various headers and body content.
- Observe that the request does not succeed, despite the server being operational.
Bardeen version: ____
Last ver. (25 dec.)
Link to Playbook or Autobook (attached).
Hi Max,
First of all, I would like to inform you that HTTP request actions are discontinued. We do not remove them and customers can use them “as is”, but no maintenance or support will be provided for these features.
I checked the “Send http POST request” action for you and it seems to work for me. I could not see the setup you tried, but I can share the configuration that works for me below. Please make sure that request body is a valid JSON, maybe remove all the spaces from it if there are any. As to the header, if you do not need any specific one, leave that empty (content type is added automatically).
If you share your playbook with me here, I can take a look to see if there’s any misconfiguration. To get a link of your playbook, please follow instructions provided here: https://support.bardeen.ai/hc/en-us/articles/28821486098957-Where-can-I-find-the-playbook-link
Victoria
Customer Support - bardeen.ai
Knowledge Base https://support.bardeen.ai/hc/en-us
Explore | @bardeenai | Bardeen Community
1 Like
It seems I’ve identified the issue. There is no possibility to perform an action for escaping quotes. The text in the content field contains double quotes (e.g., ““Hey Lucy, what’s my name?””) that are not properly escaped. Because of this, I cannot pass this value into the object in the POST body without an error. Previously bardeens version, there was an option to map fields for the action to send a POST request, but this option has been removed, which significantly limits the use of this action.