Error: Failed to fetch API due to GraphQL errors