PalisadoesFoundation / talawa-api

API Backend for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
209 stars 712 forks source link

Bug report : Images cannot be fetched. #177

Closed Swayam221 closed 3 years ago

Swayam221 commented 3 years ago

Describe the bug When fetching images from the database, the URL cannot be reached. To Reproduce Steps to reproduce the behavior: 1.build and run the talawa app. 2.login/sing-up(with a profile image). 3.Go to join organisations page. 4.Go to profile page.

Expected behavior It is expected that the images for the organisations and the user's profile are fetched successfully and appear beside their name in the join organisation and profile page respectively. Actual behavior The result is an exception because the http request fails. HTTP request failed, statusCode: 400, http://calico.palisadoes.org/talawa/graphql/images/dPY5r5Y9J-download.jpeg Screenshots Android Emulator - Pixel_2_XL_API_30_5554 21-03-2021 18_50_05 In this image I'm trying to signup with an image. Android Emulator - Pixel_2_XL_API_30_5554 21-03-2021 18_51_41 In this image, we can see that the image for the organisation, 'Amazon' doesn't load. Android Emulator - Pixel_2_XL_API_30_5554 21-03-2021 18_52_15 In this image, we can see that the image for the profile doesn't load. exception an image showing these exceptions in the terminal. Additional details I have figured out the problem and would like to work on this issue.

Swayam221 commented 3 years ago

Will probably be solved when a PR for PalisadoesFoundation/talawa#448 is merged, hence closing this issue.