René's URL Explorer Experiment


Title: NodeJS and Attachment · Issue #4371 · getsentry/sentry-javascript · GitHub

Open Graph Title: NodeJS and Attachment · Issue #4371 · getsentry/sentry-javascript

X Title: NodeJS and Attachment · Issue #4371 · getsentry/sentry-javascript

Description: Maybe it's not a bug, but I'm not sure. because there is no documentation for it. We are trying to send an attachment of the issue to the sentry via the NodeJS backend application. I wrote the code below by commenting out the API, but it...

Open Graph Description: Maybe it's not a bug, but I'm not sure. because there is no documentation for it. We are trying to send an attachment of the issue to the sentry via the NodeJS backend application. I wrote the code...

X Description: Maybe it's not a bug, but I'm not sure. because there is no documentation for it. We are trying to send an attachment of the issue to the sentry via the NodeJS backend application. I wrote ...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/4371

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NodeJS and Attachment","articleBody":"Maybe it's not a bug, but I'm not sure. because there is no documentation for it.\r\n\r\nWe are trying to send an attachment of the issue to the sentry via the NodeJS backend application. I wrote the code below by commenting out the API, but it didn't work.\r\n\r\nconst sentryResponse = Sentry.captureException(err.original);\r\n    const client = Sentry.getCurrentHub().getClient();\r\n    const { host, path, projectId, port, protocol, user } = client.getDsn();\r\n    const endpoint = `${protocol}://${host}${port !== '' ? `:${port}` : ''}${\r\n        path !== '' ? `/${path}` : ''\r\n    }/api/${projectId}/events/${sentryResponse}/attachments/?sentry_key=${user}&sentry_version=7&sentry_client=custom-javascript`;\r\n\r\n    fetch(endpoint, {\r\n      method: 'POST',\r\n      body: {\r\n        'variables.file': fs.createReadStream('./README.md')\r\n      },\r\n    }).catch((ex) => {\r\n      // we have to catch this otherwise it throws an infinite loop in Sentry\r\n      console.error(ex);\r\n    });\r\n  } catch (ex) {\r\n    console.error(ex);\r\n  }\r\n\r\nThere has to be a simpler way to do this?","author":{"url":"https://github.com/ErcinDedeoglu","@type":"Person","name":"ErcinDedeoglu"},"datePublished":"2022-01-05T10:04:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/4371"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1b0acc21-798e-18ed-ded7-f049d1493fa4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F2C:15A4DC:178F91F:1F86E78:6B042FBD
html-safe-nonce9dd31a1b1b68e5b823bab93a9b5ca2953a83d2606592f1840e23bedf4972cec2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjJDOjE1QTREQzoxNzhGOTFGOjFGODZFNzg6NkIwNDJGQkQiLCJ2aXNpdG9yX2lkIjoiMTgxMjc3NDk5NzI4NzI1MTkwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac59a7415e0aba4f6eadd5a0c41eb46e1adfdd0ad13e049197b7561d98c35f0fa1
hovercard-subject-tagissue:1094180268
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/getsentry/sentry-javascript/4371/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f0bc0292727737f1b24a56483a2dbd59fe8bfbcfe7f7caac07e65adce36a476c/getsentry/sentry-javascript/issues/4371
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f0bc0292727737f1b24a56483a2dbd59fe8bfbcfe7f7caac07e65adce36a476c/getsentry/sentry-javascript/issues/4371
og:image:altMaybe it's not a bug, but I'm not sure. because there is no documentation for it. We are trying to send an attachment of the issue to the sentry via the NodeJS backend application. I wrote the code...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameErcinDedeoglu
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/4371#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F4371
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F4371
Sign uphttps://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=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4371
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4371
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4371
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests56 (56)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4371
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4371
NodeJS and Attachmenthttps://github.com/getsentry/sentry-javascript/issues/4371#top
https://github.com/ErcinDedeoglu
ErcinDedeogluhttps://github.com/ErcinDedeoglu
on Jan 5, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issue-1094180268
Nexthttps://github.com/getsentry/sentry-javascript/issues/4371?timeline_page=1
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Jan 5, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5845407602
sl0thentr0pyhttps://github.com/sl0thentr0py
Type: Questionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Question%22
on Jan 5, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5846540893
getsantryhttps://github.com/apps/getsantry
Status: Untriagedhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Untriaged%22
on Jan 5, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5846541089
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Jan 10, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1008950313
AbhiPrasadhttps://github.com/AbhiPrasad
Package: nodehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Package%3A%20node%22
Status: Needs Informationhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Information%22
Type: Questionhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Question%22
on Jan 10, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5866569774
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jan 31, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1025855885
github-actionshttps://github.com/apps/github-actions
Status: Stalehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
on Jan 31, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5981463918
AbhiPrasadhttps://github.com/AbhiPrasad
Status: Stalehttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Stale%22
on Jan 31, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-5981697526
https://github.com/kldavis4
kldavis4https://github.com/kldavis4
on Feb 1, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1027076331
https://github.com/kldavis4/sentry_nodejs_attachments_examplehttps://github.com/kldavis4/sentry_nodejs_attachments_example
AbhiPrasadhttps://github.com/AbhiPrasad
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
Status: Needs Informationhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Needs%20Information%22
on Feb 18, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-6100632842
https://github.com/yousefa00
yousefa00https://github.com/yousefa00
on May 9, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1121675524
https://github.com/pkaminski
pkaminskihttps://github.com/pkaminski
on May 22, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1133799781
@yousefa00https://github.com/yousefa00
@kldavis4https://github.com/kldavis4
https://github.com/pkaminski
pkaminskihttps://github.com/pkaminski
on May 24, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1135266510
https://github.com/lforst
lforsthttps://github.com/lforst
on May 24, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1135911569
#5004https://github.com/getsentry/sentry-javascript/pull/5004
https://github.com/lforst
lforsthttps://github.com/lforst
on Jun 1, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1143579169
https://docs.sentry.io/platforms/javascript/enriching-events/attachments/https://docs.sentry.io/platforms/javascript/enriching-events/attachments/
lforsthttps://github.com/lforst
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 1, 2022https://github.com/getsentry/sentry-javascript/issues/4371#event-6718792833
https://github.com/aspala
aspalahttps://github.com/aspala
on Jun 15, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1156719374
@lforsthttps://github.com/lforst
@yousefa00https://github.com/yousefa00
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Jun 15, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1156799237
https://user-images.githubusercontent.com/18689448/173899635-aa6eacd3-4b09-4fad-8440-86f78b837eb3.png
@aspalahttps://github.com/aspala
https://github.com/aspala
aspalahttps://github.com/aspala
on Jun 22, 2022https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1163377851
@AbhiPrasadhttps://github.com/AbhiPrasad
issuehttps://github.com/getsentry/sentry-javascript/issues/5294
https://github.com/WeeJeWel
WeeJeWelhttps://github.com/WeeJeWel
on Jan 2, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369111750
getsentry/sentry-docs#5195 (comment)https://github.com/getsentry/sentry-docs/issues/5195#issuecomment-1369110592
https://github.com/lforst
lforsthttps://github.com/lforst
on Jan 3, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369539698
@WeeJeWelhttps://github.com/WeeJeWel
https://github.com/WeeJeWel
WeeJeWelhttps://github.com/WeeJeWel
on Jan 3, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369542681
@WeeJeWelhttps://github.com/WeeJeWel
https://sentry.io/organizations/homey-pro/issues/3849467719/?project=4504361524330496&query=is%3Aunresolved&referrer=issue-streamhttps://sentry.io/organizations/homey-pro/issues/3849467719/?project=4504361524330496&query=is%3Aunresolved&referrer=issue-stream
https://sentry.io/organizations/homey-pro/issues/3849462954/?project=4504361524330496&query=is%3Aunresolved&referrer=issue-streamhttps://sentry.io/organizations/homey-pro/issues/3849462954/?project=4504361524330496&query=is%3Aunresolved&referrer=issue-stream
https://github.com/lforst
lforsthttps://github.com/lforst
on Jan 3, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369557808
@WeeJeWelhttps://github.com/WeeJeWel
https://github.com/WeeJeWel
WeeJeWelhttps://github.com/WeeJeWel
on Jan 3, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369567640
https://github.com/WeeJeWel
WeeJeWelhttps://github.com/WeeJeWel
on Jan 3, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1369567850
https://github.com/lforst
lforsthttps://github.com/lforst
on Jan 5, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1372167843
@WeeJeWelhttps://github.com/WeeJeWel
https://github.com/WeeJeWel
WeeJeWelhttps://github.com/WeeJeWel
on Jan 5, 2023https://github.com/getsentry/sentry-javascript/issues/4371#issuecomment-1372247445
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/4371
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4371
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.