René's URL Explorer Experiment


Title: IllegalStateException when deserializing message using conversation.history · Issue #1426 · slackapi/java-slack-sdk · GitHub

Open Graph Title: IllegalStateException when deserializing message using conversation.history · Issue #1426 · slackapi/java-slack-sdk

X Title: IllegalStateException when deserializing message using conversation.history · Issue #1426 · slackapi/java-slack-sdk

Description: Using conversations.history, we are getting exceptions when the slack sdk attempts to deserialize a customer's message history. The issue is in the groups field inside the first attachment of the first file in the 169th message of the me...

Open Graph Description: Using conversations.history, we are getting exceptions when the slack sdk attempts to deserialize a customer's message history. The issue is in the groups field inside the first attachment of the f...

X Description: Using conversations.history, we are getting exceptions when the slack sdk attempts to deserialize a customer's message history. The issue is in the groups field inside the first attachment of t...

Opengraph URL: https://github.com/slackapi/java-slack-sdk/issues/1426

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IllegalStateException when deserializing message using conversation.history","articleBody":"Using conversations.history, we are getting exceptions when the slack sdk attempts to deserialize a customer's message history.\n\nThe issue is in the groups field inside the first attachment of the first file in the 169th message of the messages array in the API response is expected to be an array in your sdk but turned out to be an object.\n\n-------\n\nGot an exception while calling conversations.history API (team: ****, error: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 164106 path $.messages[169].attachments[0].files[0].groups See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure)\n\n```\n j.l.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 164106 path $.messages[169].attachments[0].files[0].groups\nSee https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure\n\tat c.g.g.s.JsonReader.unexpectedTokenError(JsonReader.java:1768)\n\tat c.g.g.s.JsonReader.beginArray(JsonReader.java:430)\n\tat c.g.g.i.b.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)\n\tat c.g.g.i.b.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:59)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$2.readIntoField(ReflectiveTypeAdapterFactory.java:267)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:558)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:516)\n\t... 33 common frames omitted\nWrapped by: c.g.g.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 164106 path $.messages[169].attachments[0].files[0].groups\nSee https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:520)\n\tat c.g.g.i.b.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)\n\tat c.g.g.i.b.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:83)\n\tat c.g.g.i.b.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:59)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$2.readIntoField(ReflectiveTypeAdapterFactory.java:267)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.readField(ReflectiveTypeAdapterFactory.java:558)\n\tat c.g.g.i.b.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:516)\n\tat c.g.g.i.b.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)\n\tat c.g.g.i.b.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:83)\n\tat c.g.g.i.b.Collect...\n\n```","author":{"url":"https://github.com/rasharab","@type":"Person","name":"rasharab"},"datePublished":"2025-01-24T23:53:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1426/java-slack-sdk/issues/1426"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:238267eb-5d74-8624-43ca-03a44814f359
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDB4:9FD91:234826:2EA774:6A4C26A7
html-safe-nonce464a1fb55395e841b8bbd40633bf0d5cdd07af896cdb026cc4752364a30b35a7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREI0OjlGRDkxOjIzNDgyNjoyRUE3NzQ6NkE0QzI2QTciLCJ2aXNpdG9yX2lkIjoiNDUzMzM3NTgzNzQyMzYzMzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac14c4919e096f4057eb4b8f3292a052af0375372465aa12aa1eadafebb621f0d6
hovercard-subject-tagissue:2810609753
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/slackapi/java-slack-sdk/1426/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a6fb41ce72950e4274d678e8242e148c0e0be37a393ef1b618a6f3dff3f0432b/slackapi/java-slack-sdk/issues/1426
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a6fb41ce72950e4274d678e8242e148c0e0be37a393ef1b618a6f3dff3f0432b/slackapi/java-slack-sdk/issues/1426
og:image:altUsing conversations.history, we are getting exceptions when the slack sdk attempts to deserialize a customer's message history. The issue is in the groups field inside the first attachment of the f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerasharab
hostnamegithub.com
expected-hostnamegithub.com
None1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511
turbo-cache-controlno-preview
go-importgithub.com/slackapi/java-slack-sdk git https://github.com/slackapi/java-slack-sdk.git
octolytics-dimension-user_id6962987
octolytics-dimension-user_loginslackapi
octolytics-dimension-repository_id62449869
octolytics-dimension-repository_nwoslackapi/java-slack-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id62449869
octolytics-dimension-repository_network_root_nwoslackapi/java-slack-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ee13484b32cf23e15fde191da4c9aa47d41201c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/slackapi/java-slack-sdk/issues/1426#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fslackapi%2Fjava-slack-sdk%2Fissues%2F1426
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fslackapi%2Fjava-slack-sdk%2Fissues%2F1426
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=slackapi%2Fjava-slack-sdk
Reloadhttps://github.com/slackapi/java-slack-sdk/issues/1426
Reloadhttps://github.com/slackapi/java-slack-sdk/issues/1426
Reloadhttps://github.com/slackapi/java-slack-sdk/issues/1426
Please reload this pagehttps://github.com/slackapi/java-slack-sdk/issues/1426
slackapi https://github.com/slackapi
java-slack-sdkhttps://github.com/slackapi/java-slack-sdk
Notifications https://github.com/login?return_to=%2Fslackapi%2Fjava-slack-sdk
Fork 231 https://github.com/login?return_to=%2Fslackapi%2Fjava-slack-sdk
Star 601 https://github.com/login?return_to=%2Fslackapi%2Fjava-slack-sdk
Code https://github.com/slackapi/java-slack-sdk
Issues 32 https://github.com/slackapi/java-slack-sdk/issues
Pull requests 14 https://github.com/slackapi/java-slack-sdk/pulls
Actions https://github.com/slackapi/java-slack-sdk/actions
Security and quality 0 https://github.com/slackapi/java-slack-sdk/security
Insights https://github.com/slackapi/java-slack-sdk/pulse
Code https://github.com/slackapi/java-slack-sdk
Issues https://github.com/slackapi/java-slack-sdk/issues
Pull requests https://github.com/slackapi/java-slack-sdk/pulls
Actions https://github.com/slackapi/java-slack-sdk/actions
Security and quality https://github.com/slackapi/java-slack-sdk/security
Insights https://github.com/slackapi/java-slack-sdk/pulse
#1429https://github.com/slackapi/java-slack-sdk/pull/1429
IllegalStateException when deserializing message using conversation.historyhttps://github.com/slackapi/java-slack-sdk/issues/1426#top
#1429https://github.com/slackapi/java-slack-sdk/pull/1429
bugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documentedhttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22bug%22
project:slack-api-clientproject:slack-api-clienthttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22project%3Aslack-api-client%22
project:slack-api-modelproject:slack-api-modelhttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22project%3Aslack-api-model%22
1.45.2https://github.com/slackapi/java-slack-sdk/milestone/114
https://github.com/rasharab
rasharabhttps://github.com/rasharab
on Jan 24, 2025https://github.com/slackapi/java-slack-sdk/issues/1426#issue-2810609753
https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structurehttps://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure
bugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documentedhttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22bug%22
project:slack-api-clientproject:slack-api-clienthttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22project%3Aslack-api-client%22
project:slack-api-modelproject:slack-api-modelhttps://github.com/slackapi/java-slack-sdk/issues?q=state%3Aopen%20label%3A%22project%3Aslack-api-model%22
1.45.2https://github.com/slackapi/java-slack-sdk/milestone/114
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.