Closed
Description
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
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
Labels
Type
Projects
Status
Done