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

Unable to create new posts. #2692

Open
MohitMaulekhi opened this issue Jan 4, 2025 · 8 comments
Open

Unable to create new posts. #2692

MohitMaulekhi opened this issue Jan 4, 2025 · 8 comments
Labels
bug Something isn't working

Comments

@MohitMaulekhi
Copy link
Contributor

MohitMaulekhi commented Jan 4, 2025

Describe the bug
Getting server not running/ invalid url error message while creating new posts.

To Reproduce
Steps to reproduce the behavior:

  1. Login/register with an account.
  2. Create posts.

Expected behavior
New posts should be created.

Actual behavior
Getting error message server not running/ invalid url

Screenshots
Screenshot_2024-12-29-14-29-48-757_com example talawa

@MohitMaulekhi MohitMaulekhi added the bug Something isn't working label Jan 4, 2025
@MohitMaulekhi
Copy link
Contributor Author

Assign

Copy link

github-actions bot commented Jan 4, 2025

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@github-actions github-actions bot added invalid This doesn't seem right unapproved Unapproved, needs to be triaged labels Jan 4, 2025
@Cioppolo14 Cioppolo14 removed the unapproved Unapproved, needs to be triaged label Jan 4, 2025
@noman2002
Copy link
Member

@MohitMaulekhi Are you running the talawa-api locally ??

@MohitMaulekhi
Copy link
Contributor Author

@MohitMaulekhi Are you running the talawa-api locally ??

Yes, I am running the talawa-api locally. I’ve verified that the server is up and running without any errors. The configuration files and API endpoint URL have also been double-checked to ensure they are correctly set. However, I’m still encountering the "server not running/invalid URL" error message while creating new posts.

Mr. Parag mentioned that a GSoC project from this year changed the schema of the post. So, it seems we need to fix this before we can start posting.

Could you also remove the "invalid" tag from this issue?

@palisadoes palisadoes removed the invalid This doesn't seem right label Jan 5, 2025
@Sangharshdeveloper
Copy link

Assign

@MohitMaulekhi
Copy link
Contributor Author

@palisadoes @noman2002

Are we using the imageUrl and videoUrl fields in the Post model?

These fields are not being sent by the GraphQL backend query, but the Post model and frontend expect them. I haven't seen any usage of these fields in the app.

Are we using the File field for attachments?

This field is being sent by the GraphQL backend query.

Removing the imageUrl and videoUrl fields from the app fixes the unwanted server not running/invalid URL error message, but changes should be made in the frontend post queries and models regarding the File field.

Please advise on how to proceed.

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Jan 21, 2025
@palisadoes
Copy link
Contributor

Unassigned. Inactivity

@github-actions github-actions bot removed the no-issue-activity No issue activity label Jan 22, 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

No branches or pull requests

5 participants