How to Resolve a 500 Error During Trigger Deployment Using the Typescript SDK on Pipedream?

This topic was automatically generated from Slack. You can find the original thread here.

I’m trying to deploy a Trigger using the Typescript SDK

const deployResult = await pipedream.deployTrigger({
  externalUserId,
  triggerId: componentId,
  configuredProps,
  webhookUrl,
})

However, this code is throwing this error:

Error: HTTP error! status: 500, body: {“error”:“Unexpected error, please reach out to our team at Support - Pipedream”}

Oh, I fixed it. I was missing the app’s authProvisionId prop!