Bug: Return Response webhook always returns {} instead of the configured JSON body
Environment
- Platform: Activepieces Cloud
- Return Response Piece Version: v0.1.40
Description
I found a bug with the Return Response piece.
The workflow executes successfully, and all steps complete without errors. The HTTP Request module receives the correct response from Razorpay, and the Run Output also shows the expected response body.
However, the webhook client always receives an empty JSON object ({}) instead of the configured response body.
Workflow
Webhook
↓
HTTP Request (Razorpay API)
↓
Return Response
Return Response Configuration
{
"id": "{{step_1['output']['body']['id']}}",
"status": "{{step_1['output']['body']['status']}}",
"short_url": "{{step_1['output']['body']['short_url']}}"
}
Flow Execution is set to Stop.
Expected Result
The webhook should return:
{
"id": "plink_xxxxx",
"status": "created",
"short_url": "https://rzp.io/i/xxxxx"
}
Actual Result
The browser always receives:
{}
The Network tab confirms the HTTP response body is {}.
Verification
To ensure the issue wasn’t on the frontend:
- I tested the exact same HTML page using Make.com.
- Make.com returned the configured JSON response correctly.
- The frontend immediately displayed the response as expected.
- Replacing the response body with:
{
"message": "Hello World"
}
still returns {} when using Activepieces, while Make.com correctly returns:
{
"message": "Hello World"
}
This confirms the frontend and JavaScript are working correctly, and the issue appears to be with the Return Response piece in Activepieces.
Additional Information
- Workflow execution succeeds.
- HTTP Request succeeds.
- Run Output correctly displays the response body.
- Only the actual HTTP response sent back to the client is empty (
{}).
As an AI Automation Expert I request Activepiece’s team to resolve this bug as soon as possible.
Here are proof’s
After Verification on Make.com



