Skip to content

Error fetching publication with ID 15518583 #542

@cybersiddhu

Description

@cybersiddhu

Error Description

The following error was logged during publication fetching:

{"level":"error","msg":"failed fetching details for pub 15518583: error fetching publication 15518583: error in fetching publication no publication found with id 15518583","time":"13/May/2025:16:54:54"}

Impact

The application is unable to fetch publication details for ID 15518583, which may impact any features that rely on this publication data.

Possible Causes

  1. The publication ID might not exist in the external source
  2. There might be an issue with the publication API or data source
  3. The connection to the publication service might be failing
  4. Recent changes to context deadlines might be affecting fetching behavior

Related Code

This issue likely involves the publication fetching logic in internal/graphql/fetch/publication.go

Additional Context

Recent commits show changes to publication fetching:

  • Added context deadline to publication fetchers
  • Added support for gene name lookup in fetchGeneAnnotation
  • Added validation for gene IDs

Suggested Next Steps

  1. Verify if publication ID 15518583 exists in the source database
  2. Check for any changes in the external API that might affect fetching
  3. Review the recent changes to context deadlines to ensure they're not too restrictive
  4. Consider adding better fallback behavior when publications can't be found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions