GitHub teams
I'm trying to use github team integration to create a team:
https://ci.appveyor.com/gitHubTeams
I got error message:
Cannot deserialize the current JSON object (e.g. {name into type
'Newtonsoft.Json.Linq.JObject[]' because the type requires a JSON
array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g.
[1,2,3]) or change the deserialized type so that it is a normal
.NET type (e.g. not a primitive type like integer, not a collection
type like an array or List) that can be deserialized from a JSON
object. JsonObjectAttribute can also be added to the type to force
it to deserialize from a JSON object. Path 'message', line 1,
position 11.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 08 Apr, 2015 11:38 PM
So, no GitHub teams listed on that page?
2 Posted by xvorsx on 09 Apr, 2015 12:01 AM
No, only red error message, see attachment
Support Staff 3 Posted by Feodor Fitsner on 09 Apr, 2015 12:11 AM
Apparently, it's unable to read teams of one of the orgs you belong to.
What scopes GitHub account is authorized for on https://ci.appveyor.com/account page?
4 Posted by xvorsx on 09 Apr, 2015 12:12 AM
Public only
Support Staff 5 Posted by Feodor Fitsner on 09 Apr, 2015 12:24 AM
Re-authorize for public and private and give it another try.
6 Posted by xvorsx on 09 Apr, 2015 12:26 AM
I could do it as a workaround, but it's not my intention: I want authorize it only for public.
Support Staff 7 Posted by Feodor Fitsner on 09 Apr, 2015 12:27 AM
Yes, workaround. We'll add try..catch to skip orgs that cannot be read.
8 Posted by xvorsx on 09 Apr, 2015 12:28 AM
ok, cool
9 Posted by giacomo.tag on 11 May, 2015 06:02 PM
I am unable to let my github team in. the authorization is for public and private repos. Which information you need to inspect it?
Thank you :)
10 Posted by giacomo.tag on 11 May, 2015 06:07 PM
I tried to revoke the permission and now I am unable to reinsert it (see attachment)
Support Staff 11 Posted by Feodor Fitsner on 11 May, 2015 06:41 PM
What's the name of that account? We can reset it from here.
12 Posted by giacomo.tag on 11 May, 2015 09:28 PM
itajaja
Support Staff 13 Posted by Feodor Fitsner on 11 May, 2015 09:40 PM
Done. You can re-authorize again. What should I do to reproduce the issue?
14 Posted by giacomo.tag on 11 May, 2015 09:51 PM
Yes it worked, thanks! what I did was to revoke the permission from the github page and not from the appveyor page.
Still, I can't see the repos.
Repos are under the user "hylasoft", that has given permission to the "Owners" team of the "hylasoft-usa" organization. I cannot login with user "itajaja", member of the "Owners" team
Support Staff 15 Posted by Feodor Fitsner on 11 May, 2015 09:56 PM
Do you login using "GitHub" sign in button? Do you see a dropdown with accounts when logging in to AppVeyor?
16 Posted by giacomo.tag on 12 May, 2015 06:59 AM
yes and yes
Support Staff 17 Posted by Feodor Fitsner on 12 May, 2015 04:39 PM
Then you should choose right account on login to see its projects.
18 Posted by giacomo.tag on 12 May, 2015 05:42 PM
Well, they should be visible to both. Here is the configuration.
The two users are "hylasoft" and "itajaja". The project are under the account "hylasoft". The accoun hylasoft is set up so that everyone in the "Owners" team of the "hylasoft-usa" organization have admin access. Both "hylasoft" and "itajaja" are in this team.
Of course, if I login with "hylasoft" I see the project, not because it is shared with the team, but because they are projects of that account.
If I enter with "itajaja", I cannot see them. Same thing for my colleagues' account in the same github team. Maybe I am doing something wrong, but I cannot see what...
Support Staff 19 Posted by Feodor Fitsner on 12 May, 2015 06:37 PM
But this is how it's currently implemented in AppVeyor. Your GitHub username
itajajais associated with two AppVeyor accountshylasoftanditajaja. When you login you choose what AppVeyor you want to manage. If you selecthylasoftfrom dropdown you see projects of that account if you chooseitajajathen your personal projects. You should re-login to see/manage projects under different AppVeyor accounts. The same for your colleagues (provided they see dropdown with accounts on Sign in page).I know it's counter-intuitive and this functionality will be revisited in the future.
20 Posted by giacomo.tag on 12 May, 2015 10:12 PM
Ooooh... I feel stupid now. For some reason I thought I had both github credentials for my account in my broeser, that's why I thought I was seeing both, like Google multi-account selection.
Now this might be a little OT, but since I revoked and regranted the permission, all the build on
hylasoftare failing, Is there anything I can do beside deleting and readding the projects? I would like to avoid that.Thanks for your support.
Support Staff 21 Posted by Feodor Fitsner on 12 May, 2015 10:19 PM
You don't need recreating the projects. Re-login to AppVeyor and select "Hylasoft" from dropdown then go to https://ci.appveyor.com/account to see what GitHub account is authorized there. Re-authorize with GitHub account that has permissions to access those repositories.
- Feodor
22 Posted by giacomo.tag on 13 May, 2015 10:45 AM
still nothing:
The repo exists. Should I open another issue?
Support Staff 23 Posted by Feodor Fitsner on 13 May, 2015 01:45 PM
Oh, it fails in this place. Did you delete AppVeyor's SSH public key from that repo?
- Feodor
24 Posted by giacomo.tag on 13 May, 2015 02:11 PM
It's not just one, but all of them. Could they have been revoked because I revoked the account permissions? How do I readd them?
Support Staff 25 Posted by Feodor Fitsner on 13 May, 2015 02:14 PM
No, revoking account permissions deletes OAuth token.
You can see SSH key on General tab of each private project. Add that SSH key to "Deploy keys" of appropriate repo on GitHub.
- Feodor
26 Posted by giacomo.tag on 13 May, 2015 02:50 PM
Worked. Thanks for your awesome support as always, Feodor!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.