-
Notifications
You must be signed in to change notification settings - Fork 432
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
Error Message: Resource not found for the segment 'calendars'. #404
Comments
When using credentials as auth flow you need to pass a resource as you are initially authenticated as the “app”. So just: sched = account.schedule(resource='[email protected]') |
I have that and it still seems to not work, i receive the second error
I'm sorry I'm not understanding where its drawing this from, I have the token and definitely have the app permissions set in azure |
Then it could be a problem with the definition of the app. Two questions: 1.- Did you add Application permissions or delegated permissions? |
I used application permissions I have also looked into my token and i see no permissions being sent, referring to scp after i decoded the token. |
This message comes from the MS Graph Service. The token file should contain only the ".default" scope. Correct? |
I see no ".default" scope in the token I'm using https://jwt.io/ to decrypt the token btw |
I have revoked the previous app permissions and then added them again with admin consent and saved a new client secret. but still to no avail. |
Hi I'm trying to connect using application permissions for a chatbot, and I'm either receiving this error above or
when trying to get access to specifically a calendar, I'm not really understanding where im going wrong. I'm using a blueprint to create the system I need each time, though not sure if that's the best option, here's the relevant code:
` def init(self):
`
As you can probably see I've had a look at previous issues related to this topic but I cant seem to understand where this is going wrong. The code fails at the first instantiation of sched in Check_date_time_conflict. with sched = account.schedule(resource="[email protected]") it give me the second error, I'm very sure I have setup the app registration on msgraph part so I'm sure its some issue with my code. I have the Token saved as well.
Pardon my print("potat#") its a habit for debugging that I haven't properly lost since college.
The text was updated successfully, but these errors were encountered: