resolve issue: http://165.232.48.178/app2/editprofilepicture returns error profile picture update failed. Failed to find user, please try again.
marcus
3
urgent
important
zfrika
what is the condition when it fails? when if(existingUser) fails ,then the else statement is executed. meaning the user doesnt exist. because it doenst always fail. sometime it loads the user profile page. what parameter determines when it passes? can postman help me trouble shoot a route better?
the problem isnt when you log in, it occurs when you go to profile page. . search for error "profile picture update failed. Failed to find user, please try again." in the code. problem is happening in editprofilepictureRoutes.js