-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to view Inbox #258
Comments
I'm sorry to hear that. It looks like you're following along with the Node tutorial. Can you try the finished sample I have posted at https://github.com/jasonjoh/node-tutorial and see if you get the same error? I've tried to force error conditions and cannot reproduce what you're seeing. If the finished sample works for you, try comparing your version with that one to see if you can spot a difference. |
The tried the finished sample, now I am able to see the inbox without any errors but it is not fetching the username and not the emails either. |
Can you explain more detail what's not working? Also, are you logging in with an Outlook.com or an Office 365 account? |
I implemented your finished sample with the steps you have provided in [https://github.com/jasonjoh/node-tutorial]. After signing in my OUTLOOK account in place of username I'm getting 'undefined' (in debug as well), when I go to Inbox to view the emails fetched, there also the value is coming "null". |
Ok. Let's verify that your account works with the Microsoft Graph. Can you go to the Graph Explorer, login with the same account, and run the default query using the Run Query button? What is the response? |
I performed below steps :
Please find the response I'm getting, below : As you can see all the responses that I am recieving is null. |
Ok. This could either be normal or a problem with your specific account.
|
You were right, when i signed in https://graph.microsoft.com/v1.0/me/mailfolders/inbox/messages my name was missing and as soon as I added that it fetched all the required details. |
I am getting below errors after signing in.
Error: C:\Users\garkumar\Node-work\mails1\node-tutorial\views\error.hbs: Can't set headers after they are sent.
at validateHeader (_http_outgoing.js:494:11)
at ServerResponse.setHeader (_http_outgoing.js:501:3)
at ServerResponse.header (C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\express\lib\response.js:767:10)
at ServerResponse.send (C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\express\lib\response.js:170:12)
at done (C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\express\lib\response.js:1004:10)
at C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\hbs.js:93:9
at Object.done (C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\async.js:74:20)
at C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\hbs.js:88:18
at C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\hbs.js:69:11
at Object.done (C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\async.js:74:20)
at C:\Users\garkumar\Node-work\mails1\node-tutorial\node_modules\hbs\lib\hbs.js:64:20
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
The text was updated successfully, but these errors were encountered: