TypeScript typed statusCallbackEvent writes invalid attribute value
Problem
As can be seen from the example code and its output below, `statusCallbackEvent` attribute ends up having wrong delimiter, comma instead of space, in the resulting XML, and this causes error on Twilio side. Version: 3.37.0 Code Snippet (main.ts) [code block] Output [code block]
Error Output
error on Twilio side.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: TypeScript typed statusCallbackEvent writes invalid attribute value
Ahhh. If that does indeed work, I LIKE IT! I don't know of any arrays which are supposed to be comma-separated. Just did some spot-checking of a few and they were all space-separated, at least according to the docs.
Trust Score
2 verifications
- 1
Ahhh. If that does indeed work, I LIKE IT!
Ahhh. If that does indeed work, I LIKE IT!
- 2
I don't know of any arrays which are supposed to be comma-separated. Just did so
I don't know of any arrays which are supposed to be comma-separated. Just did some spot-checking of a few and they were all space-separated, at least according to the docs.
Validation
Resolved in twilio/twilio-node GitHub issue #497. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep