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

    I keep getting this error message, I rewrote it multiple times and thought had to do with not being my username and keep

    Posted June 16, 2022 10:27pm by NAHIMA ABEA
    NAHIMA ABEA
    5,728 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Marni Ali
    Marni Ali
    4,642 Points

    Retrieve the data for Javascript points using my personal profile as an example.

    Posted April 13, 2022 10:17am by Marni Ali
    Marni Ali
    4,642 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Gillian Nieh
    Gillian Nieh
    5,709 Points

    Syntax Error

    Posted August 5, 2021 4:42pm by Gillian Nieh
    Gillian Nieh
    5,709 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • babyoscar
    babyoscar
    12,930 Points

    It says "profile is not defined"

    Posted December 1, 2020 4:28pm by babyoscar
    babyoscar
    12,930 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Sander Heieren
    Sander Heieren
    12,613 Points

    Why can I not see value of body? Only prints out empty string. Does it not get added to the the string for every chunk?

    Posted September 21, 2020 8:41pm by Sander Heieren
    Sander Heieren
    12,613 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Joseph Tavinor
    Joseph Tavinor
    8,397 Points

    How to get documentation in the console

    Posted September 16, 2020 9:54am by Joseph Tavinor
    Joseph Tavinor
    8,397 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    At 2:00, why do we not return length on the JavaScript object. We are returning a number after all?

    Posted June 15, 2020 6:43pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    3 Answers

  • Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points

    SyntaxError: Unexpected token d in JSON at position 0 undefined:1 data:data

    Posted April 22, 2020 8:12pm by Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • francisobrien
    francisobrien
    2,131 Points

    Why does this return a syntax error at JSON.parse(body)?

    Posted April 16, 2020 6:47am by francisobrien
    francisobrien
    2,131 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Sandi Wu
    Sandi Wu
    6,752 Points

    Unexpected token u in JSON

    Posted March 3, 2020 3:18am by Sandi Wu
    Sandi Wu
    6,752 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • ada ada
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ada ada
    Front End Web Development Techdegree Student 192 Points

    How to access first element of JSON object array?

    Posted March 17, 2019 4:26am by ada ada
    .a{fill-rule:evenodd;}techdegree
    ada ada
    Front End Web Development Techdegree Student 192 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Vlad Tanasie
    Vlad Tanasie
    782 Points

    TypeError: Cannot read property 'JavaScript' of undefined

    Posted February 20, 2019 11:35am by Vlad Tanasie
    Vlad Tanasie
    782 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • lassek
    lassek
    8,209 Points

    I see no result difference using console.log vs console.dir

    Posted November 14, 2018 9:25am by lassek
    lassek
    8,209 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • aleti chaitanya
    aleti chaitanya
    3,588 Points

    Unexpected token i in JSON at position 1:

    Posted September 11, 2018 7:04am by aleti chaitanya
    aleti chaitanya
    3,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Teacher Russell
    Teacher Russell
    16,873 Points

    Parsing JSON

    Posted June 27, 2018 11:52pm by Teacher Russell
    Teacher Russell
    16,873 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • James Blazer
    James Blazer
    3,836 Points

    getting (node:374) warning

    Posted May 12, 2018 2:36am by James Blazer
    James Blazer
    3,836 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    0 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    TypeError: Cannot read property 'length' of undefined

    Posted January 31, 2018 11:13pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    node not returning anything.

    Posted January 28, 2018 5:23pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Alan Mills
    Alan Mills
    31,712 Points

    Question about escape characters in Workspaces and parsing this very same JSON data

    Posted January 18, 2018 2:27am by Alan Mills
    Alan Mills
    31,712 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • KarthikReddy Lingareddy
    KarthikReddy Lingareddy
    403 Points

    How to parse a CSV file?

    Posted December 18, 2017 7:18am by KarthikReddy Lingareddy
    KarthikReddy Lingareddy
    403 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Nathan Kim
    Nathan Kim
    3,837 Points

    There is a syntax error about my code and I cannot figure it out. Help Appreciated!

    Posted November 25, 2017 9:18pm by Nathan Kim
    Nathan Kim
    3,837 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Osaro Igbinovia
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Osaro Igbinovia
    Full Stack JavaScript Techdegree Student 15,928 Points

    How can I display my message?

    Posted October 18, 2017 3:18pm by Osaro Igbinovia
    .a{fill-rule:evenodd;}techdegree
    Osaro Igbinovia
    Full Stack JavaScript Techdegree Student 15,928 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    4 Answers

  • Aaron Smith
    Aaron Smith
    19,091 Points

    const vs. var

    Posted September 9, 2017 2:12pm by Aaron Smith
    Aaron Smith
    19,091 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    3 Answers

  • Tim Blokzyl
    Tim Blokzyl
    145 Points

    Link to API is returning 404, has its location changed?

    Posted February 20, 2017 2:17am by Tim Blokzyl
    Tim Blokzyl
    145 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    3 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