https://serverless-stack.com/ logo
#help
Title
# help
d

Dan Van Brunt

01/20/2022, 8:50 PM
Why do I keep having to re-learn the idiosyncrasies of EventBridge each time I go to use it. Can anyone see why my event doesn’t seem to be triggering from a Lambda SDK call?
Figured out my issue…. EB sdk does not fail on errors…. is responds with an object like this…
Copy code
{
    '$metadata': {
      httpStatusCode: 200,
      requestId: '78c5bbab-9036-4a38-b447-e856bc0b3b4c',
      extendedRequestId: undefined,
      cfId: undefined,
      attempts: 1,
      totalRetryDelay: 0
    },
    Entries: [
      {
        ErrorCode: 'MalformedDetail',
        ErrorMessage: 'Detail is malformed.',
        EventId: undefined
      }
    ],
    FailedEntryCount: 1
  }
16 Views