Forum Discussion

47sudeep's avatar
47sudeep
Copper Contributor
Sep 20, 2023

Unable to access /me/joinedTeams. I am getting 401 status and message as "unknown".

Access token has all the valid scopes

This is the error I am facing.

What am I missing here

1 Reply

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi 47sudeep,

     

    I have reviewed the two images you sent, and I have a few suggestions for how to troubleshoot the issue you are facing:

    1. Make sure that the access token you are using is valid and has the correct scopes. The /me/joinedTeams endpoint requires the User.Read scope.
    2. Try clearing the cache and cookies for your browser.
    3. Try using a different browser or device to access the endpoint.
    4. Try accessing the endpoint using a different network connection.
    5. If you are still having trouble, contact Microsoft support for assistance.

    Here are some additional things to keep in mind:

    • The /me/joinedTeams endpoint is a new endpoint, and it is possible that there are still some bugs or issues with it.
    • The endpoint is also subject to rate limiting, so if you are making a lot of requests to it, you may be hitting the rate limit.
    • If you are using a third-party library or SDK to access the endpoint, make sure that the library or SDK is up to date.

     

    Here are some links that you may find helpful in troubleshooting the issue you are facing:


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic

Resources