This topic was automatically generated from Slack. You can find the original thread here.
Hello Pipedream team,
I was looking at custom error handling using subscriptions API and for some reason i can’t create a subscription:
➜ ~ curl 'https://api.pipedream.com/v1/subscriptions?emitter_id=o_abc123&event_name=$errors&listener_id=p_abc123' \
-X POST \
-H "Authorization: Bearer <REDACTED>" \
-H "Content-Type: application/json"
{"error":"record not found"}%
➜ ~ curl 'https://api.pipedream.com/v1/subscriptions?emitter_id=p_*&listener_id=p_KwC5Kay&event_name=$errors' \
-X POST \
-H "Authorization: Bearer <REDACTED>" \
-H "Content-Type: application/json"
{"data":[]}%
When i feed it random emitter/listener IDs - it does return a validation error, but when i feed it valid ones - it just responds with {“data”: []}. I checked /v1/users/me/subscriptions - same result - no subscriptions registered. For context - i’m doing it under an org that’s on a free plan and using my own token.
Thank you