Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Unable to view the user image #20

Open
meghadev opened this issue Dec 20, 2016 · 1 comment
Open

Unable to view the user image #20

meghadev opened this issue Dec 20, 2016 · 1 comment

Comments

@meghadev
Copy link

I checked in the on premise sample code. I am getting a URL in
person.avatarUrl.get().then(function(imgUrl) {
console.log("IMG URL:: " + imgUrl);
});
However, unable to see the user image. I am getting a 404 not found in the browser console. Also, if I copy paste this url in the browser, I get:

403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.

FYI: I am able to view the user image in my Lync Application, logged in with the same user. So, I am assuming 401 unauthorized access isn't really the root cause.

Can someone please help me in fixing it.

@dougroutledge
Copy link

I have this issue quite often too, either 404 or 500. What is particularly weird is for a given use, it will work 90% of the time, but then occasionally the same user will get a 404 or 500 error. I am not sure so I am just speculating, but I wonder if when the server gets under a load deemed heavy it quits serving the images for a certain period of time. I handle the error by replacing it with a default image, which is not optimal, but better than a red x.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants