René's URL Explorer Experiment


Title: Failure when reading more than 500 messages from a MESH mailbox · Issue #60 · NHSDigital/mesh-client · GitHub

Open Graph Title: Failure when reading more than 500 messages from a MESH mailbox · Issue #60 · NHSDigital/mesh-client

X Title: Failure when reading more than 500 messages from a MESH mailbox · Issue #60 · NHSDigital/mesh-client

Description: Context We are using version 3.2.1 of the MESH-client. We are testing the last step of the pseudocode for MESH inbox cycle explained here: https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#ove...

Open Graph Description: Context We are using version 3.2.1 of the MESH-client. We are testing the last step of the pseudocode for MESH inbox cycle explained here: https://digital.nhs.uk/developer/api-catalogue/message-exc...

X Description: Context We are using version 3.2.1 of the MESH-client. We are testing the last step of the pseudocode for MESH inbox cycle explained here: https://digital.nhs.uk/developer/api-catalogue/message-exc...

Opengraph URL: https://github.com/NHSDigital/mesh-client/issues/60

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failure when reading more than 500 messages from a MESH mailbox","articleBody":"**Context**\r\n\r\nWe are using version 3.2.1 of the MESH-client.\r\nWe are testing the last step of the pseudocode for MESH inbox cycle explained here: https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#overview--mesh-api-pseudocode\r\n\r\nWhenever our application tries to pull messages from MESH and there are more than 500 messages the MESH client throws the following exception:\r\n\r\n```\r\nERROR MissingSchema: Invalid URL '/messageexchange/**********/inbox...\r\nNo scheme supplied. Perhaps you meant https:///messageexchange/**********/inbox...\r\n```\r\n\r\nWith the following stack trace:\r\n\r\n```\r\nFile \\\"/var/task/mesh_client/__init__.py\\\", line 816, in iterate_message_ids\",\r\n  result = self._inbox_v2_page(url=next_page)\",\r\nFile \\\"/var/task/mesh_client/__init__.py\\\", line 507, in _inbox_v2_page\",\r\n  response = self._session.get(url, timeout=self._timeout, params=params)\",\r\nFile \\\"/var/task/requests/sessions.py\\\", line 602, in get\",\r\n  return self.request(\\\"GET\\\", url, **kwargs)\",\r\nFile \\\"/var/task/requests/sessions.py\\\", line 575, in request\",\r\n  prep = self.prepare_request(req)\",\r\nFile \\\"/var/task/requests/sessions.py\\\", line 486, in prepare_request\",\r\n  p.prepare(\",\r\nFile \\\"/var/task/requests/models.py\\\", line 368, in prepare\",\r\n  self.prepare_url(url, params)\",\r\nFile \\\"/var/task/requests/models.py\\\", line 439, in prepare_url\",\r\n  raise MissingSchema(\",\r\n```\r\n\r\nThis occurs when trying to load the second batch of message (500 till the end). The reason is that the client expects the links object in the response to contain a fully qualifying URI: https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807-L817\r\nWhere instead the returned links object looks like this:\r\n```\r\n\"links\": {\r\n        \"self\": \"/messageexchange/X26ABC1/inbox\"\r\n    },\r\n```\r\n\r\n**Potential Fix**\r\n\r\nThis can be fixed by either\r\n\r\n- Updating the way that _inbox_v2_page function builds the url: https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L506 To check the argument passed is a fully qualified url.\r\n\r\n- or the same  check can be performed when extracting the URL from the links object here: \r\nhttps://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807\r\n\r\n","author":{"url":"https://github.com/vivanov-grailbio","@type":"Person","name":"vivanov-grailbio"},"datePublished":"2024-02-06T12:10:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/60/mesh-client/issues/60"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bace82d6-f7b2-5ae1-b229-63851580773b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB38:2AE5C2:7150B4:A3464B:6A549241
html-safe-noncea419774901830e4e32ecc58f0c819db280962157124a4f03b12aa75e8ce3bf46
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjM4OjJBRTVDMjo3MTUwQjQ6QTM0NjRCOjZBNTQ5MjQxIiwidmlzaXRvcl9pZCI6IjE3ODIyODE4NTkwNTA1NDE2MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7856a3483b7943ee5f9762804d1220b46fcaaae30ab09a85342945ac492745b7
hovercard-subject-tagissue:2120629394
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/NHSDigital/mesh-client/60/issue_layout
twitter:imagehttps://opengraph.githubassets.com/43d3b87a39044f0c5f6a6037e9c39fc8bd9574ea90feee74a79ed8de7f38cca9/NHSDigital/mesh-client/issues/60
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/43d3b87a39044f0c5f6a6037e9c39fc8bd9574ea90feee74a79ed8de7f38cca9/NHSDigital/mesh-client/issues/60
og:image:altContext We are using version 3.2.1 of the MESH-client. We are testing the last step of the pseudocode for MESH inbox cycle explained here: https://digital.nhs.uk/developer/api-catalogue/message-exc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevivanov-grailbio
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/NHSDigital/mesh-client git https://github.com/NHSDigital/mesh-client.git
octolytics-dimension-user_id6683590
octolytics-dimension-user_loginNHSDigital
octolytics-dimension-repository_id264230422
octolytics-dimension-repository_nwoNHSDigital/mesh-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id264230422
octolytics-dimension-repository_network_root_nwoNHSDigital/mesh-client
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
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NHSDigital/mesh-client/issues/60#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNHSDigital%2Fmesh-client%2Fissues%2F60
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2FNHSDigital%2Fmesh-client%2Fissues%2F60
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=NHSDigital%2Fmesh-client
Reloadhttps://github.com/NHSDigital/mesh-client/issues/60
Reloadhttps://github.com/NHSDigital/mesh-client/issues/60
Reloadhttps://github.com/NHSDigital/mesh-client/issues/60
Please reload this pagehttps://github.com/NHSDigital/mesh-client/issues/60
NHSDigital https://github.com/NHSDigital
mesh-clienthttps://github.com/NHSDigital/mesh-client
Notifications https://github.com/login?return_to=%2FNHSDigital%2Fmesh-client
Fork 11 https://github.com/login?return_to=%2FNHSDigital%2Fmesh-client
Star 17 https://github.com/login?return_to=%2FNHSDigital%2Fmesh-client
Code https://github.com/NHSDigital/mesh-client
Issues 1 https://github.com/NHSDigital/mesh-client/issues
Pull requests 1 https://github.com/NHSDigital/mesh-client/pulls
Actions https://github.com/NHSDigital/mesh-client/actions
Projects https://github.com/NHSDigital/mesh-client/projects
Security and quality 0 https://github.com/NHSDigital/mesh-client/security
Insights https://github.com/NHSDigital/mesh-client/pulse
Code https://github.com/NHSDigital/mesh-client
Issues https://github.com/NHSDigital/mesh-client/issues
Pull requests https://github.com/NHSDigital/mesh-client/pulls
Actions https://github.com/NHSDigital/mesh-client/actions
Projects https://github.com/NHSDigital/mesh-client/projects
Security and quality https://github.com/NHSDigital/mesh-client/security
Insights https://github.com/NHSDigital/mesh-client/pulse
#63https://github.com/NHSDigital/mesh-client/pull/63
Failure when reading more than 500 messages from a MESH mailboxhttps://github.com/NHSDigital/mesh-client/issues/60#top
#63https://github.com/NHSDigital/mesh-client/pull/63
https://github.com/davidhallam4-nhs
https://github.com/vivanov-grailbio
vivanov-grailbiohttps://github.com/vivanov-grailbio
on Feb 6, 2024https://github.com/NHSDigital/mesh-client/issues/60#issue-2120629394
https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#overview--mesh-api-pseudocodehttps://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#overview--mesh-api-pseudocode
https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807-L817https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807-L817
https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L506https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L506
https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807https://github.com/NHSDigital/mesh-client/blob/develop/mesh_client/__init__.py#L807
davidhallam4-nhshttps://github.com/davidhallam4-nhs
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.