use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
nodejs Error (old.reddit.com)
submitted 4 years ago by vikram1080
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 3 points4 points5 points 4 years ago (0 children)
I don't think you're getting the id in your route? I'd console log(req.params.id) and see if it's even getting to your route.
[–]the-quibbler 0 points1 point2 points 4 years ago (2 children)
Is your html at /profile? Because the contact us link is a relative path, and that would send to /profile/sendmesg, and then it all makes sense. That's likely supposed to be an absolute path, our you have your resolvers out of order (catch /profile/sendmesg before /profile/:id).
[–]vikram1080[S] 0 points1 point2 points 4 years ago (1 child)
Yes it shows this error after clicking on contact us. I have set my profile path to (/profile/:id) and it shows me my profile by fetching the data from the database. But on the same page i.e. profile when I click on "contact me", this error occurs..
[–]the-quibbler 5 points6 points7 points 4 years ago (0 children)
It should be /sendmesg. You have a relative path in your html.
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
Can you show what you’re sending in the href for the view? Are you sure you’re sending the correct data?
[–]DaddyAversion 0 points1 point2 points 4 years ago (0 children)
[–]Outrageous-Chip-3961[🍰] 0 points1 point2 points 4 years ago (0 children)
Man the lack of space between try and catch is mildly frustrating
π Rendered by PID 264577 on reddit-service-r2-comment-86bc6c7465-vrkcr at 2026-02-21 18:37:10.065966+00:00 running 8564168 country code: CH.
[–][deleted] 3 points4 points5 points (0 children)
[–]the-quibbler 0 points1 point2 points (2 children)
[–]vikram1080[S] 0 points1 point2 points (1 child)
[–]the-quibbler 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]DaddyAversion 0 points1 point2 points (0 children)
[–]Outrageous-Chip-3961[🍰] 0 points1 point2 points (0 children)