question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A problem with scopes?

See original GitHub issue

Hi!

I’m exploring the API using this module. I can get mailbox folders but I cannot get_messages because of the error below

ERROR:O365.connection:Client Error: 403 Client Error: Forbidden for url: https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?%24top=25 | Error Message: Access is denied. Check credentials and try again.
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
<ipython-input-20-26cf27c8af8a> in <module>()
----> 1 ib.get_messages()

I have 'Mail.ReadWrite', 'Mail.ReadWrite.Shared' scopes.

What could be a problem?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tarikaltuncucommented, May 9, 2019

I’m not sure what’s different now, but I regenerated another app and it worked this time.

Thanks for your help and sorry for the fuss, Tarik

1reaction
janscascommented, May 9, 2019

Men you pasted a link with your access code. I’ve removed it. For security reasons, clear the secret and generate a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Defining the Scope of Your Problem
Before you begin troubleshooting a problem, you must first define the scope of your problem. When defining the scope , you need to...
Read more >
When Scopes Go Bad — Warning Signs ...
Riflescopes are mechanical contraptions. One of the sad realities about precision shooting is that, sooner or later, you will experience a scope failure....
Read more >
How To Troubleshoot Riflescope Problems | An NRA ...
Whether your favorite optic is blurry or plagued with internal debris, these tips will help you resolve common riflescope issues.
Read more >
Problems (Some) Riflescopes (Can) Have
1. Parallax Many riflescopes suffer from a condition that stems from the inability of a scope to remain focused at all ranges. ·...
Read more >
Scoping Problems: A Recipe for Success
Scoping a problem facilitates the creation of a good problem statement, which in turn enables the creation of a testable hypothesis. This ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found