Question

Webhook error "Got a non-object result in the array, expected only objects"

  • 15 June 2022
  • 0 replies
  • 105 views

Hi,

I’m creating a simple API (WebApi C#) and am attempting to create a Web Hook in Zapier. I’ve set this up and it’s testing okay in both the API set and Zapier Editor. However when I attempt to Trigger the event I’m getting the error below. I’ve tried directly posting via Postman to the Zapier endpoint that was subscribed with the same result. Any pointers on what could be causing this error? 

Thanks, Jay

Error from log

  • ID:10e50e40-ec6d-11ec-98b0-1249988f690d

  • Date:2022-06-15T05:36:12+00:00 (0m ago)

  • Type:N/A

  • Key:calendar_update

Message details:

Unhandled error: CheckError: Invalid API Response: - Got a non-object result in the array, expected only objects ([{"BookingId":"65654a14-4ca4-4277-ab02-dbc19b8b294) What happened: Executing triggers.calendar_update.operation.perform with bundle Invalid API Response: - Got a non-object result in the array, expected only objects ([{"BookingId":"65654a14-4ca4-4277-ab02-dbc19b8b294) CheckError: Invalid API Response: - Got a non-object result in the array, expected only objects ([{"BookingId":"65654a14-4ca4-4277-ab02-dbc19b8b294) at checkOutput (/var/task/node_modules/zapier-platform-core/src/app-middlewares/after/checks.js:42:15) at Object.<anonymous> (/var/task/node_modules/zapier-platform-core/src/middleware.js:80:37) at bound (domain.js:421:15) at Object.runBound (domain.js:432:12) at Object.tryCatcher (/var/task/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/var/task/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/var/task/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromiseCtx (/var/task/node_modules/bluebird/js/release/promise.js:641:10) at _drainQueueStep (/var/task/node_modules/bluebird/js/release/async.js:97:12) at _drainQueue (/var/task/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/var/task/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/var/task/node_modules/bluebird/js/release/async.js:15:14) at processImmediate (internal/timers.js:464:21) at process.topLevelDomainCallback (domain.js:152:15) at process.callbackTrampoline (internal/async_hooks.js:128:24)

Payload posted

[

    {

        "BookingId": "65654a14-4ca4-4277-ab02-dbc19b8b2948",

        "FromDate": "2022-06-15T15:00:00",

        "ToDate": "2022-06-20T10:00:00",

        "RoomId": "c8371d93-02f8-4caa-9e63-c603fb92bb1a",

        "RoomName": "Room 2"

    }

]

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.