Why am I Getting a 500 Response while Deploying a Trigger using the Python SDK on Pipedream?

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

Hi team, I’m trying to use the Python SDK to deploy a trigger (Deploy trigger - Pipedream). I’m consistently getting a 500 response from the Pipedream API:

headers: {'date': 'Thu, 20 Nov 2025 16:08:54 GMT', 'content-type': 'application/json', 'content-length': '148', 'connection': 'keep-alive', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'x-download-options': 'noopen', 'x-permitted-cross-domain-policies': 'none', 'referrer-policy': 'strict-origin-when-cross-origin', 'x-async-handle': 'async_responses:{netminder-7c89d46696-25gpv} 35kXE4lpOXprq8rludFgWCSHwpM', 'vary': 'Accept, Accept-Encoding, Origin', 'x-runtime': '5.408624', 'cache-control': 'no-cache', 'x-request-id': 'b44ab576-8a6f-406d-9b88-176d926c4a99'}, status_code: 500, body: {'error': 'unexpected error', 'err': 'An unexpected error occurred, please reach out to our team at https://pipedream.com/support', 'observations': None}

Can I get some help with debugging this? Not sure if I’m doing something wrong on my end or if it’s actually a bug with Pipedream. One thing to note is that immediately prior to this error, I’m able to successfully fetch account information using the SDK (List accounts - Pipedream).