Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord