# Error updating site info using SSO after update

**URL:** <https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881>\
**Category:** WordPress\
**Created:** [April 23, 2015, 9:22pm UTC](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881 "2015-04-23T21:22:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Grex315](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grex315/32/115868_2.png) [@Grex315](https://meta.discourse.org/u/Grex315)\
**Post date:** [April 24, 2015, 3:58pm UTC](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881/2 "2015-04-24T15:58:02Z")

</div>

so digging into this a bit more it seems to only come up for users using gravatar. The $params array is pulling the right URL but for gravatar links it throws the bad uri error.

Here is what the url looks like in my array.

```
[avatar_url] => http://2.gravatar.com/avatar/8873fecd2e0ccc4af0c54c8bdb1aab99?s=96&#038;d=mm&#038;r=x

```

Entering this url into my browser returns the correct avatar image.

Edit: It seems Discourse does not like the parameters that are at the end of the Gravatar URL if i strip off everything after the hash for the gravatar is goes through fine.

---

_[View the full topic](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881)._
