Skip to content

Development server serverless webhook is not the same with the cloud version #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
captainjapeng opened this issue Apr 17, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@captainjapeng
Copy link

Describe the bug
The payload of the development server's webhook is not the same as the one from the cloud version.

To Reproduce
Steps to reproduce the behavior:

  1. Create a request on /run on local development
  2. Call /status/:id to execute the request
  3. Check the webhook's payload

Expected behavior
The cloud version returns the followin payload:

{
  "delayTime": 4736,
  "executionTime": 157,
  "id": "e4616554-495e-4e66-838b-c55f2ea7ecbc-e1",
  "input": {
    "id": "Hello World",
    "tasks": [
      {
        "id": "Hello World",
        "token": "",
        "type": "test_success"
      }
    ]
  },
  "output": {
    "results": [
      {
        "success": true
      }
    ]
  },
  "status": "COMPLETED",
  "webhook": "https://webhook.site/XXXX"
}

Screenshots
The local development server sends the following payload:

{
  "output": {
    "results": [
      {
        "success": true
      }
    ]
  }
}

Desktop (please complete the following information):

  • OS: Windows 10
  • SDK Version: 1.7.9
  • Browser N/A
  • Version N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants