Skip to content

Commit a56642e

Browse files
authored
Merge pull request #913 from marionbarker/working-docs
Expand the Add Identifier, need new key instructions
2 parents 086941b + 6ce98aa commit a56642e

File tree

1 file changed

+44
-7
lines changed

1 file changed

+44
-7
lines changed

docs/browser/bb-errors.md

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,7 @@ If you want to try to solve it yourself, refer back to these section in the docu
104104
105105
### New Builder: Add Identifiers Error
106106
107-
If you succeeded with Validate Secrets, this should also succeed. If it does not, the most likely problem is with one of these keys. Perhaps when you saved them to your Secrets Reference file, there was a mistake or you used a smart editor that changed a small letter to a capital letter or inserted or removed a line break:
108-
109-
* `FASTLANE_KEY`
110-
* `FASTLANE_KEY_ID`
111-
112-
The `FASTLANE_KEY` can be taken from the `p8` file you downloaded. The other keys are all able to be copied again from your *Apple* Developer account page. See [Copy `API Key Secrets`](secrets.md#copy-api-key-secrets){: target="_blank" }.
107+
If you succeeded with Validate Secrets, this should also succeed. If it does not, please skip ahead to [Error: `missing a required attribute`](#error-missing-a-required-attribute).
113108
114109
Do not hesitate to [ask a mentor for help](#where-to-get-help-with-browser-build).
115110
@@ -348,7 +343,49 @@ For Version 3.4 and later - use [Examine Annotation](#examine-annotation) and re
348343
349344
## Action: `Add Identifiers` Errors
350345
351-
For Version 3.4 and later - use [Examine Annotation](#examine-annotation) and read the annotation.
346+
### Error: `missing a required attribute`
347+
348+
This happens if your `FASTLANE_KEY` is invalid. You may have copied it incorrectly or there may be some other reason why the value that you correctly copied from your `p8` file is not working.
349+
350+
Copy the words on the line below and paste them into the search function for your action log.
351+
352+
> ``` { .text .copy }
353+
> The provided entity is missing a required attribute - You must provide a value for the attribute
354+
> ```
355+
356+
There were a number of cases recently where the solution was to revoke your `FASTLANE_KEY`, create a new one and then update these two secrets in your organzation, or in every repository if you are using a personal *GitHub* account to build.
357+
358+
* `FASTLANE_KEY`
359+
* `FASTLANE_KEY_ID`
360+
361+
Before revoking your key, first make sure that when you saved them to your Secrets Reference file, there was not a mistake. Make sure you are NOT using a smart editor; that can change a small letter to a capital letter. Make sure you did NOT insert or remove a line break and that you copied from the first hyphen to the last hyphen. The 2 keys should look like this:
362+
363+
```
364+
FASTLANE_KEY_ID
365+
<looks like this>
366+
AAAAAAAAAA
367+
368+
FASTLANE_KEY
369+
<looks like this>
370+
-----BEGIN PRIVATE KEY-----
371+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
372+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
373+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
374+
AAAAAAAA
375+
-----END PRIVATE KEY-----
376+
```
377+
378+
The `FASTLANE_KEY` can be taken from the `p8` file you downloaded. The other keys are all able to be copied again from your *Apple* Developer account page. See [Copy `API Key Secrets`](secrets.md#copy-api-key-secrets){: target="_blank" }.
379+
380+
If you decide to revoke the key and start again, see [Generate `API Key`](secrets.md#generate-api-key){: target="_blank" }. You will need to first revoke the existing `FASTLANE_KEY`:
381+
382+
* Select `Edit`
383+
* Click on the checkbox beside `FASTLANE_KEY`
384+
* Select `Revoke Key`
385+
386+
Then follow the normal steps detailed in that section to generate a new key and save the updated key and key ID in your Secrets Reference file and in your organization or repositories.
387+
388+
Do not hesitate to [ask a mentor for help](#where-to-get-help-with-browser-build).
352389
353390
## Action: `Create Certificates` Errors
354391

0 commit comments

Comments
 (0)