@@ -240,8 +240,23 @@ the “Grant Access” button next to its name:
240
240
241
241
![ Authentication Access Control] ( ../images/auth-level-acl.png )
242
242
243
+ #### could not find the github team
244
+
245
+ Or, when trying to add a GitHub team as crate owner, you may see an error like:
246
+
247
+ ``` text
248
+ error: failed to invite owners to crate <crate_name>: api errors (status 200 OK): could not find the github team org/repo
249
+ ```
250
+ In that case, you should go to [ the GitHub Application settings page] and
251
+ check if crates.io is listed in the ` Authorized OAuth Apps ` tab.
252
+ If it isn't, you should go to < https://crates.io/login > and authorize it.
253
+ Then go to the crates.io app page, make sure you or your organization
254
+ is granted the access (you should see a green checkmark next to the org name).
255
+ If there's a button labeled ` Grant ` or ` Request ` , you should grant the access
256
+ or request the org owner to do so.
257
+
243
258
[ RFC 1105 ] : https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md
244
- [ Rust API Guidelines ] : https://rust-lang-nursery .github.io/api-guidelines/
259
+ [ Rust API Guidelines ] : https://rust-lang.github.io/api-guidelines/
245
260
[ `authors` ] : manifest.md#the-authors-field
246
261
[ `cargo login` ] : ../commands/cargo-login.md
247
262
[ `cargo package` ] : ../commands/cargo-package.md
@@ -256,3 +271,4 @@ the “Grant Access” button next to its name:
256
271
[ `repository` ] : manifest.md#the-repository-field
257
272
[ crates.io ] : https://crates.io/
258
273
[ oauth-scopes ] : https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/
274
+ [ the GitHub Application settings page ] : https://github.com/settings/applications
0 commit comments