Using the conversations/:id/add_message api endpoint: semi-colon in message body causes the message to be truncated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023
09:19 AM
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?
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023
11:07 AM
Looks like this situation can be avoided by URL encoding the message body.