Skip to content

Commit c227803

Browse files
authored
added titles
1 parent b23ec57 commit c227803

File tree

1 file changed

+4
-4
lines changed
  • src/pages/gen1/[platform]/build-a-backend/troubleshooting/apikey-not-found

1 file changed

+4
-4
lines changed

src/pages/gen1/[platform]/build-a-backend/troubleshooting/apikey-not-found/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export function getStaticProps(context) {
2929
If you're encountering an "API Key Not Found" issue in your Amplify project, follow the steps below to troubleshoot and resolve the problem:
3030

3131
## Step 1: Modify `parameters.json` to Remove API Key
32-
1. Navigate to the api/[name]/parameters.json file in your project.
32+
1. Navigate to the `api/[name]/parameters.json` file in your project.
3333
2. Add the following line to the file:
3434

35-
```ts
35+
```ts title="parameters.json"
3636
"CreateAPIKey": 0
3737
```
3838
Ensure that a comma is placed after the previous line if this is added at the end of the JSON object.
@@ -44,7 +44,7 @@ If you're encountering an "API Key Not Found" issue in your Amplify project, fol
4444
3. Modify the arrays by removing the `GraphQLAPIKeyOutput` entry. For example:
4545
* Change this:
4646

47-
```json
47+
```json title="backend-config.json"
4848
"attributes": [
4949
"GraphQLAPIIdOutput",
5050
"GraphQLAPIEndpointOutput",
@@ -54,7 +54,7 @@ If you're encountering an "API Key Not Found" issue in your Amplify project, fol
5454

5555
* To this:
5656

57-
```ts
57+
```json title="backend-config.json"
5858
"attributes": [
5959
"GraphQLAPIIdOutput",
6060
"GraphQLAPIEndpointOutput"

0 commit comments

Comments
 (0)