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

GraphQLFailed: data={'repository': {'discussion': None}} errors=[GraphQLError(type='NOT_FOUND', message='Could n... #134

Closed
sentry-io bot opened this issue Jan 23, 2025 · 0 comments · Fixed by #135
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 23, 2025

Sentry Issue: DISCORD-BOT-24

RequestFailed: Response(404 Not Found, data_model=<class 'githubkit.versions.v2022_11_28.models.group_0005.BasicError'>)
  File "app/components/entity_mentions/cache.py", line 36, in _fetch_entity
    entity = (await gh.rest.issues.async_get(*signature)).parsed_data

GraphQLFailed: data={'repository': {'discussion': None}} errors=[GraphQLError(type='NOT_FOUND', message='Could not resolve to a Discussion with the number of 676767.', locations=[SourceLocation(line=4, column=5)], path=['repository', 'discussion'], extensions=None)] extensions=None
(5 additional frame(s) were not displayed)
...
  File "app/components/entity_mentions/fmt.py", line 95, in entity_message
    for kind, entity in await asyncio.gather(
  File "app/components/entity_mentions/cache.py", line 56, in get
    await self._refresh(key)
  File "app/components/entity_mentions/cache.py", line 48, in _refresh
    await self._fetch_entity(key)
  File "app/components/entity_mentions/cache.py", line 42, in _fetch_entity
    entity = await get_discussion(*signature)
  File "app/components/entity_mentions/discussions.py", line 23, in get_discussion
    resp = await gh.graphql.arequest(
@sentry-io sentry-io bot added the bug Something isn't working label Jan 23, 2025
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.

1 participant