-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LINE Client] 400: A message (messages[1]) in the request body is invalid. #125
Comments
Making ratings to exceed 10 causes reply overlength |
Sometimes it's the URL too long. |
This happens quite frequently and is eating up our rollbar quota. Suggest to get it fixed soon. |
Error msg : In PR #119 |
Let's truncate the user input reason before creating line:// URLs? We can pick a length limit that is definitely safe (such as 100 words) so that it will not exceed the limit even after URL encoding. |
…LINE Client] 400 A Chinese character creates 9 encoded characters, with article-url, queries, predefined words etc. reason size should be less than 100.
Fix #125 [LINE Client] 400: A message (messages[1]) in the request body is invalid
看起來這次還有 reply 文字太長,導致無法查詢該則回應 orz https://rollbar.com/mrorz/rumors-line-bot/items/54/occurrences/78068581282/ |
訊息裡頭如果有「#」的話,似乎會被 LINE 判定為 invalid uri scheme⋯⋯ request.body:
result.details
result.message
|
看起來應該是 hashtag 的問題,最近的 occurrence 都有 hashtag https://rollbar.com/mrorz/rumors-line-bot/items/59/ ex:
|
View details in Rollbar: https://rollbar.com/mrorz/rumors-line-bot/items/59/
The text was updated successfully, but these errors were encountered: