File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/pages/gen1/[platform]/build-a-backend/troubleshooting/apikey-not-found Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ If you're encountering an "API Key Not Found" issue in your Amplify project, fol
32
32
1 . Navigate to the ` amplify/backend/api/<apiName>/parameters.json ` file in your project.
33
33
2 . Add the following line to the file:
34
34
35
- ``` ts title="parameters.json"
35
+ ``` tsx title="parameters.json"
36
36
" CreateAPIKey" : 0
37
37
```
38
38
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
44
44
3 . Modify the arrays by removing the ` GraphQLAPIKeyOutput ` entry. For example:
45
45
* Change this:
46
46
47
- ``` json title="backend-config.json"
47
+ ``` tsx title="backend-config.json"
48
48
" attributes" : [
49
49
" GraphQLAPIIdOutput" ,
50
50
" GraphQLAPIEndpointOutput" ,
@@ -54,7 +54,7 @@ If you're encountering an "API Key Not Found" issue in your Amplify project, fol
54
54
55
55
* To this:
56
56
57
- ``` json title="backend-config.json"
57
+ ``` tsx title="backend-config.json"
58
58
" attributes" : [
59
59
" GraphQLAPIIdOutput" ,
60
60
" GraphQLAPIEndpointOutput"
You can’t perform that action at this time.
0 commit comments