You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: {"error":"{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}","code":422,"body":{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}
Example code:
If $name contains double quote, we get the above error. As a user of the library, I believe SparkPost should be able to handle the below scenario and escape the name correctly because otherwise I need to dive into SDK code to confirm that my escaping method is compliant with the SDK.
SparkPost SDK version: 2.3.0
Error: {"error":"{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}","code":422,"body":{"errors":[{"message":"content.from and content.name must sum to an even number of nested quote(s)","code":"1902"}]}
Example code:
If $name contains double quote, we get the above error. As a user of the library, I believe SparkPost should be able to handle the below scenario and escape the name correctly because otherwise I need to dive into SDK code to confirm that my escaping method is compliant with the SDK.
The text was updated successfully, but these errors were encountered: