Skip to content
Discussion options

You must be logged in to vote

Here is the full download of this problem of the issue. For the Tl;dr Use a selector until Get is fixed
When making this call from the tenant level:
result, err1 := client.UsersById(*userId).Events().Get()
I describe the print statements and below show the output

If you are confused, stay with me. It gets better. So, in models/events.go, there are fields location and locations. When the Get() function tries to return location, you get this error. So, use msevt.EventsRequestBuilderGetRequestConfiguration
where --> msevt "github.com/microsoftgraph/msgraph-sdk-go/users/item/events" and do not select the location.

And you will be able to get the event list. I cannot claim to know why you get…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
12 replies
@baywet
Comment options

baywet May 25, 2022
Collaborator

@dadams39
Comment options

@baywet
Comment options

baywet May 25, 2022
Collaborator

@dadams39
Comment options

@baywet
Comment options

baywet May 25, 2022
Collaborator

Comment options

You must be logged in to vote
1 reply
@baywet
Comment options

baywet May 26, 2022
Collaborator

Answer selected by dadams39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants