Using the conversations/:id/add_message api endpoint: semi-colon in message body causes the message to be truncated

Jump to solution
BobCapel
Community Member

I found that when I include a semi-colon in the body of an add_message request, Canvas truncates the message body at the semi-colon. 

Is there a way to escape or encode the semi-colon so the body doesn't get truncated?

Are there other special characters that must be escaped or encoded so they don't cause problems in the body?

Also, what is the maximum allowed size of the body content?

0 Likes
1 Solution
BobCapel
Community Member
Author

Looks like this situation can be avoided by URL encoding the message body.

View solution in original post