Skip to content

NoMongo: Error While Loading Fundraising Campaigns Data #3868

Closed
@gkbishnoi07

Description

@gkbishnoi07

Describe the bug
The Fundraising Campaigns section fails to load, displaying an error message:
Error occurred while loading Campaigns data

To Reproduce
Steps to reproduce the behavior:

1.Open Talawa Admin (develop-postgres branch)
2. Login to the User Portal using [email protected].
3. Join an Organization & Visit an Organization Page
4. Navigate to Campaigns

Expected behavior
The fundraising campaigns should be fetched and displayed correctly.

Actual behavior
The page displays an error message

  • "Unknown type 'CampaignWhereInput'. Did you mean 'MembersWhereInput'?"
  • "Unknown type 'CampaignOrderByInput'."
  • "Cannot query field 'getFundraisingCampaigns' on type 'Query'."

Screenshots

Image

Additional details

  • Check if the CampaignWhereInput and CampaignOrderByInput types exist in the backend GraphQL schema (talawa-api) and ensure the getFundraisingCampaigns query is present in the Query type. If they exist, update the frontend accordingly. If not, add the missing query and types in the backend, or use a similar existing query if available

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions