Skip to content

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

@captainjapeng

Description

@captainjapeng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions