Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDerek Derek
8,744 PointsI can only search for username = chalkers
I can only do http://port-3000-m0fxdwh2ja.treehouse-app.com/chalkers
If I try to type my own ID, I get an events.js 141 error and the document displays "Workspace Unavailable". I googled the error, it seems that it has to do something with replacing http to https in profile.js. However, I already fixed that in one of the previous videos:
var request = https.get("https://teamtreehouse.com/" + username + ".json", function(response) {
Thank you for your help!
1 Answer
Steven Parker
231,198 PointsI didn't expect this to work, since I'm pretty sure these URL's only exist while you're running your workspace. But perhaps you still are at the moment.
But it did work, and I tried it with several different member ID's. For yours, it gave me "There was an error getting the profile for hyunjaecho. (Not Found)".
But I also could not retrieve your info by clicking on your name here. I suspect you have your account settings to NOT allow everyone to see your profile. If you change that, it should work for your own ID also.
Derek Derek
8,744 PointsDerek Derek
8,744 PointsThat's odd.. I thought it only works while I am running node.js on my console..
Steven Parker
231,198 PointsSteven Parker
231,198 PointsLooks like you fixed your profile permissions. I can fetch it now.