René's URL Explorer Experiment


Title: Getting: "No Response Received for upload." exception using LargeFileUploadTask · Issue #2500 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: Getting: "No Response Received for upload." exception using LargeFileUploadTask · Issue #2500 · microsoftgraph/msgraph-sdk-java

X Title: Getting: "No Response Received for upload." exception using LargeFileUploadTask · Issue #2500 · microsoftgraph/msgraph-sdk-java

Description: Hello, we are experiencing this exception and we don't find much information about It so we are creating this issue because we are not sure if It is a bug or It is something else. We are trying to upload Large Files (more than 3 MB) to a...

Open Graph Description: Hello, we are experiencing this exception and we don't find much information about It so we are creating this issue because we are not sure if It is a bug or It is something else. We are trying to ...

X Description: Hello, we are experiencing this exception and we don't find much information about It so we are creating this issue because we are not sure if It is a bug or It is something else. We are trying...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/2500

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting: \"No Response Received for upload.\" exception using LargeFileUploadTask","articleBody":"Hello, we are experiencing this exception and we don't find much information about It so we are creating this issue because we are not sure if It is a bug or It is something else.\n\nWe are trying to upload Large Files (more than 3 MB) to a draft Outlook Message from our Java 21 Maven Project with Microsoft Graph Java SDK v6.54.0. The POM.xml dependency looks like this:\n\n```\n        \u003cdependency\u003e\n            \u003cgroupId\u003ecom.microsoft.graph\u003c/groupId\u003e\n            \u003cartifactId\u003emicrosoft-graph\u003c/artifactId\u003e\n            \u003cversion\u003e6.54.0\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\n\n We are following the Microsoft Docs to do this: https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java#upload-large-attachment-to-outlook-message\n\nSo when we do the `task.upload()` we are getting the following Stack Trace:\n\n```\nSEVERE: Exception during large attachment upload for 'document (1).pdf'. Error: No Response Received for upload.\n[INFO] GCLOUD: com.microsoft.kiota.ApiException: No Response Received for upload.\n[INFO] GCLOUD: \tat com.microsoft.graph.core.requests.upload.UploadResponseHandler.handleResponse(UploadResponseHandler.java:71)\n[INFO] GCLOUD: \tat com.microsoft.graph.core.requests.upload.UploadSliceRequestBuilder.put(UploadSliceRequestBuilder.java:69)\n[INFO] GCLOUD: \tat com.microsoft.graph.core.tasks.LargeFileUploadTask.uploadSlice(LargeFileUploadTask.java:210)\n[INFO] GCLOUD: \tat com.microsoft.graph.core.tasks.LargeFileUploadTask.upload(LargeFileUploadTask.java:134)\n[INFO] GCLOUD: \tat plenion.officeware.services.OutlookMailService.addAttachmentsToDraft(OutlookMailService.java:1472)\n```\nOur code looks like this: \n\n```\n                   CreateUploadSessionPostRequestBody req = new CreateUploadSessionPostRequestBody();\n                    AttachmentItem item = new AttachmentItem();\n                    item.setAttachmentType(AttachmentType.File);\n                    item.setName(name);\n                    item.setSize(size);\n                    item.setIsInline(isInline);\n                    if (contentType != null) item.setContentType(contentType);\n                    req.setAttachmentItem(item);\n\n                    UploadSession session = graphClient\n                            .users()\n                            .byUserId(userMail)\n                            .messages()\n                            .byMessageId(draftMessageId)\n                            .attachments()\n                            .createUploadSession()\n                            .post(req);\n\n\n                    InputStream in = graphClient\n                            .drives()\n                            .byDriveId(driveId)\n                            .items()\n                            .byDriveItemId(a.getId())\n                            .content()\n                            .get();\n\n                    try (in) {\n                        log.info(\"Starting upload for attachment: \" + name);\n                        log.info(\"Upload session URL: \" + session.getUploadUrl());\n                        log.info(\"Upload session expiration: \" + session.getExpirationDateTime());\n\n                        int maxChunkSize = 4 * 1024 * 1024; // 4 MiB\n\n                        LargeFileUploadTask\u003cFileAttachment\u003e task = new LargeFileUploadTask\u003c\u003e(\n                                graphClient.getRequestAdapter(),\n                                session,\n                                in,\n                                size,\n                                maxChunkSize,\n                                FileAttachment::createFromDiscriminatorValue\n                        );\n\n\n                        IProgressCallback callback = (current, max) -\u003e log.info(\n                                String.format(\"Uploaded %d bytes of %d total bytes\", current, max)\n                        );\n\n                        UploadResult\u003cFileAttachment\u003e uploadResult = task.upload(5, callback);\n\n                        if (uploadResult.isUploadSuccessful()) {\n                            log.info(\"Upload complete. Item ID: \" + uploadResult.itemResponse.getId());\n                        } else {\n                            log.severe(\"Upload failed. No response received.\");\n                        }\n                    } catch (Exception e) {\n                        log.severe(\"Exception during large attachment upload for '\" + name + \"'. Error: \" + e.getMessage());\n                        e.printStackTrace();\n                        throw new RuntimeException(e);\n                    }\n```\n\nIf this information is useful also we are using Google App Egine Standard to host our APIs but this error also occurs while localhost development too, so at first instance this is not related with Google.\n\nWhat is wrong here? Is It normal to get that message? Are we missing something?\n\nWe can provide more information if needed, please just let us know and we will update the issue. Thank you in advance.\n\n","author":{"url":"https://github.com/TheCloudGate","@type":"Person","name":"TheCloudGate"},"datePublished":"2025-10-16T12:17:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2500/msgraph-sdk-java/issues/2500"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:57a0536e-d7bb-5087-8f39-1c99b789647d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idADDC:213A6B:D9EAB:130B3F:6969F859
html-safe-nonce7b8753e7f283f2dc2ba5a5047337cde9d99cebff562ad996e65d0afd946e1685
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRERDOjIxM0E2QjpEOUVBQjoxMzBCM0Y6Njk2OUY4NTkiLCJ2aXNpdG9yX2lkIjoiNDgxMjUzNDIwMDA4MzgwNjI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2c56120f4a989aa245ddac5031db79145e7e0e8b073e9af05701dad627a04cd7
hovercard-subject-tagissue:3521642145
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/microsoftgraph/msgraph-sdk-java/2500/issue_layout
twitter:imagehttps://opengraph.githubassets.com/60a0d8cab982f2bba15f215ac906c5517a6977c502179b74b3058ccfa6727833/microsoftgraph/msgraph-sdk-java/issues/2500
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60a0d8cab982f2bba15f215ac906c5517a6977c502179b74b3058ccfa6727833/microsoftgraph/msgraph-sdk-java/issues/2500
og:image:altHello, we are experiencing this exception and we don't find much information about It so we are creating this issue because we are not sure if It is a bug or It is something else. We are trying to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTheCloudGate
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2500
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2500
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=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
microsoftgraph https://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Notifications https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-java
Fork 145 https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-java
Star 447 https://github.com/login?return_to=%2Fmicrosoftgraph%2Fmsgraph-sdk-java
Code https://github.com/microsoftgraph/msgraph-sdk-java
Issues 92 https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests 4 https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actions https://github.com/microsoftgraph/msgraph-sdk-java/actions
Projects 0 https://github.com/microsoftgraph/msgraph-sdk-java/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/microsoftgraph/msgraph-sdk-java/security
Please reload this pagehttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
Insights https://github.com/microsoftgraph/msgraph-sdk-java/pulse
Code https://github.com/microsoftgraph/msgraph-sdk-java
Issues https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actions https://github.com/microsoftgraph/msgraph-sdk-java/actions
Projects https://github.com/microsoftgraph/msgraph-sdk-java/projects
Security https://github.com/microsoftgraph/msgraph-sdk-java/security
Insights https://github.com/microsoftgraph/msgraph-sdk-java/pulse
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2500
Getting: "No Response Received for upload." exception using LargeFileUploadTaskhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2500#top
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
https://github.com/TheCloudGate
https://github.com/TheCloudGate
TheCloudGatehttps://github.com/TheCloudGate
on Oct 16, 2025https://github.com/microsoftgraph/msgraph-sdk-java/issues/2500#issue-3521642145
https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java#upload-large-attachment-to-outlook-messagehttps://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java#upload-large-attachment-to-outlook-message
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
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.