🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • NAHIMA ABEA
    NAHIMA ABEA
    5,728 Points

    Error 401 treehouse issues

    Posted June 17, 2022 12:07am by NAHIMA ABEA
    NAHIMA ABEA
    5,728 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Kylie Soderblom
    Kylie Soderblom
    3,890 Points

    I don't get the first "get" of module.exports.get = get;

    Posted July 3, 2021 12:34am by Kylie Soderblom
    Kylie Soderblom
    3,890 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • babyoscar
    babyoscar
    12,930 Points

    When I run my code, everyone else's username works, but mine doesn't

    Posted December 2, 2020 8:46pm by babyoscar
    babyoscar
    12,930 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Richard Preske
    PLUS
    Richard Preske
    Courses Plus Student 4,356 Points

    Trouble figuring out my bracket to end the "else" statement

    Posted June 8, 2020 10:08pm by Richard Preske
    Richard Preske
    Courses Plus Student 4,356 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • vamosrope14
    vamosrope14
    14,932 Points

    Why do we need an if statement for the status code if we are already applying a try and catch block to the code?

    Posted August 6, 2019 7:28pm by vamosrope14
    vamosrope14
    14,932 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Macs Leon
    Macs Leon
    1,316 Points

    What for new Error Object?

    Posted January 20, 2019 3:14pm by Macs Leon
    Macs Leon
    1,316 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Harry Ramli
    Harry Ramli
    4,831 Points

    Http request errors vs status code errors

    Posted January 2, 2019 5:25am by Harry Ramli
    Harry Ramli
    4,831 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • TARIQ ALREHILY
    TARIQ ALREHILY
    14,822 Points

    I am getting this on my Machine Terminal!!

    Posted November 19, 2018 6:29pm by TARIQ ALREHILY
    TARIQ ALREHILY
    14,822 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • David Ryan
    PLUS
    David Ryan
    Courses Plus Student 14,981 Points

    Just a thought as a technology consultant and learner

    Posted October 9, 2018 8:28pm by David Ryan
    David Ryan
    Courses Plus Student 14,981 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Aakash Srivastava
    Aakash Srivastava
    5,415 Points

    Handling Status Codes Error

    Posted September 19, 2018 8:54am by Aakash Srivastava
    Aakash Srivastava
    5,415 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Saud Tauqeer
    PLUS
    Saud Tauqeer
    Courses Plus Student 8,099 Points

    some questions

    Posted July 25, 2018 2:58pm by Saud Tauqeer
    Saud Tauqeer
    Courses Plus Student 8,099 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • tal Shnitzer
    PLUS
    tal Shnitzer
    Courses Plus Student 5,242 Points

    adding friendlier error messages?

    Posted April 28, 2018 4:00pm by tal Shnitzer
    tal Shnitzer
    Courses Plus Student 5,242 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points

    Status code not working

    Posted March 13, 2018 12:22am by Leo Marco Corpuz
    Leo Marco Corpuz
    18,975 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    All my error messages say "undefined" in the console.

    Posted February 19, 2018 10:36pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Getting "undefined" in the console.

    Posted February 19, 2018 8:58pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Blake Baxendell
    Blake Baxendell
    16,344 Points

    I keep getting error is not defined.

    Posted November 8, 2017 10:53pm by Blake Baxendell
    Blake Baxendell
    16,344 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • George Matthews
    George Matthews
    8,029 Points

    I can't figure out why i'm getting Undefined when running node app.js chalkers-not

    Posted November 5, 2017 5:44pm by George Matthews
    George Matthews
    8,029 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    0 Answers

  • Michael Lauridsen
    Michael Lauridsen
    10,321 Points

    Why am I getting the whole emitted error here?

    Posted July 27, 2017 10:04pm by Michael Lauridsen
    Michael Lauridsen
    10,321 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Kenneth Kim
    Kenneth Kim
    3,795 Points

    Another question about the syntax

    Posted July 24, 2017 5:44pm by Kenneth Kim
    Kenneth Kim
    3,795 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    4 Answers

  • Kenneth Kim
    Kenneth Kim
    3,795 Points

    Hi can anyone help me with this syntax

    Posted July 24, 2017 4:09pm by Kenneth Kim
    Kenneth Kim
    3,795 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    1 Answer

  • Gerry K
    Gerry K
    5,877 Points

    Question with else statement for error message in this video

    Posted June 30, 2017 4:09am by Gerry K
    Gerry K
    5,877 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Vincent Wang
    Vincent Wang
    1,976 Points

    Redundant try-catch block?

    Posted May 27, 2017 2:32am by Vincent Wang
    Vincent Wang
    1,976 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

  • Taraj Shah
    Taraj Shah
    21,073 Points

    Why used 'new' here?

    Posted March 30, 2017 7:03am by Taraj Shah
    Taraj Shah
    21,073 Points
    • JavaScript
    • Node.js Basics 2017
    • Handling Errors in Node
    • Handling Status Code Errors

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.