Skip to content
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

NumberFormatException #118

Closed
l4npro opened this issue Aug 18, 2022 · 3 comments · Fixed by #119
Closed

NumberFormatException #118

l4npro opened this issue Aug 18, 2022 · 3 comments · Fixed by #119
Assignees
Labels
bug Something isn't working

Comments

@l4npro
Copy link

l4npro commented Aug 18, 2022

При использовании метода getByConversationMessageId() на сообщение с репостом из группы выбивает NumberFormatException.

For input string: "true"

Единственное, где выдаёт true в сообщении:

"comments": {
"can_post":1
"count":10
"groups_can_post":true
}
@yvasyliev yvasyliev self-assigned this Aug 18, 2022
@yvasyliev yvasyliev added the bug Something isn't working label Aug 18, 2022
@yvasyliev
Copy link
Collaborator

yvasyliev commented Aug 18, 2022

According to documentation, Wall Post#comments#groups_can_post should be integer, [0,1].

Will ask support team about this issue.

@l4npro
Copy link
Author

l4npro commented Aug 18, 2022

Если запретить сообществам комментировать записи, то всё работает.

@l4npro

This comment was marked as off-topic.

yvasyliev added a commit that referenced this issue Aug 18, 2022
@yvasyliev yvasyliev linked a pull request Aug 18, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants