Forum Discussion
Chrome "400 Request Too Long" when navigating to profile
Hi All, this has been plaguing us for years at least three, however, when I went deep into it the issue seemed to stem from IIS and a setting for maximum path in cookies, basically it could be addressed but won't and deleting cookies will be the only way until it causes enough pain to enough people that someone truly does try and sort it out. Turn it off and on, restart PC, reinstall browser, delete cookies, reinstall the operating system. Rather than perform root cause analysis and fix it. ho hum
I' just solved my problem with the following hint:
So if I construct the URL like follows it works
<img class="ms-Persona-image" src="https://tenant.sharepoint.com/sites/SiteCollectionName/_layouts/15/userphoto.aspx?accountname=%27+person.SipAddress+%27&size=M&url="' + person.PictureURL + '">'
from :https://github.com/giuleon/OfficeUIFabricPeoplePickerAddIn/issues/1#issuecomment-333039482