Unicorn! - I can't see the members of a specific organization

Hello :slight_smile:

I’m trying to see the people from Epic Games organization. However, every time I try to access this page, the error that shows the “Unicorn!” message occurs. Is it because this organization has many people or GitHub has some instability?

Steps to Reproduce

  • You must be logged in.
  • Just access the /epicgames/people page.
  • Then, you will found your :unicorn:.

2 Likes

You’re right - it seems as if GitHub thinks 2.1K people are a bit too much…

I’ve flagged this post for a community mod to look at. They should be able to co-ordinate a solution internally within GitHub. Thanks for reporting this!

2 Likes

Thanks for reaching out.

We’re currently investigating similar reports regarding this issue, and I’ve added your report to our list.

While we can’t share a specific ETA just yet, we’ll be sure to update you as soon as there’s any news to share.

1 Like

Thank you.

It’s a little bit more than 2.1k :stuck_out_tongue:

image.png

Thank you.

I don’t know if it’s related to the problem, but… When I access the organization homepage, the loading is very slow and in a few moments occurred the error of “Unicorn!” too. I don’t know how to reproduce the problem, sometimes it just happens.

This organization has more than 220k users:

image.png

I would like to change the visibility of my user to “public”, but I can’t access the resource to change it.

Hey, that is funny! I’m really seeing 2.1k:

It’s the difference between being a member of the organization or not. Members of the organization can see who else is in the org. People who are not members of the org can only see the people who publicly declare themselves to be members.

@lee-dohm  Can you, through support, change my visibility in this organization to “public”?

Ah @lee-dohm , stupid of me *facepalm*! Of course I only see 2.1K because I am not a member of the organization.

As for @reebr , maybe you’ll be able to change your membership visibilty trough the API. I assume there must be some endpoint for that, but I am not sure. Of course it isn’t a permanent solution, but since you seem to be eager to get that fixed it might be a good outcome for now.

2 Likes

@reebr For security and privacy reasons, we don’t have access to private account details. For that, you’ll need to contact private support at https://github.com/contact or via email at support@github.com.

I tried, but they said it wasn’t possible for privacy reasons, I don’t think they have access for it.

I searched it in the documentation and there is no resource related to it.

Much of the documentation related to organizations (and their members) are about public data, unfortunately.

But thanks for the suggestion :smiley:

I was trying to do the same thing as you.
As a workaround I tried hitting the  /orgs/EpicGames/people/set_visibility end point for the group and passed all required variables. However, an authenticity_token (for anti-CSFR) is required which seems to be generated per page per form. So my request fails because I don’t have the correct token.

Hopefully they fix this soon!

Yea :confused: I also tried to “bypass” this by making a request directly, but without success.

I just wanted to change the visibility of my user in the organization.

https://github.com/isaacs/github/issues/1623

If your goal is to to ‘publicize/conceal’ your org status via that page. You can use these instructions provided by Matt Barber from the Github team:

Excerpt:

Thanks for writing in and I hope you are having a great day where you are.

Sorry for the time taken to get back to you, we really do appreciate your patience.

So while trying to emulate this request through the UI programmatically isn’t going to be easy, we do actually offer an API end point for this: https://developer.github.com/v3/orgs/members/#publicize-a-users-membership

Just some quick house keeping before looking at the request. If you are new to our API I’d recommend taking a read through our API docs:

https://developer.github.com/v3/
https://developer.github.com/v3/guides/

Next, you’ll want to understand how to make an authenticated request:

https://developer.github.com/v3/#authentication
https://developer.github.com/v3/auth/
https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line

When determining the scopes you need when creating a token we have this great list:
https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/

For this example we’ll be using a personal access token:

curl -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token :token" \
-H "Content-Length: 0" \
-X PUT \
[https://api.github.com/orgs/EpicGames/public\_members/mobeigi](https://api.github.com/orgs/EpicGames/public_members/mobeigi)

The user can publicize their own membership. (A user cannot publicize the membership for another user.)
Note that you’ll need to set Content-Length to zero when calling out to this endpoint.

You’ll have to replace the :token with your personal access token mentioned earlier.

If this fails, please could you provide full output of a curl -v request that demonstrates this? (-v for verbose logging)

http://curl.haxx.se/

That should help us investigate the issue. Also, please make sure you mask any sensitive information like OAuth tokens and Authorization headers in the output of the curl command.

1 Like