App Dev - Deploying an API for the Quiz Application: Node.js avis
12821 avis
jitendra h. · Examiné il y a environ 5 ans
Oana P. · Examiné il y a environ 5 ans
Pavit B. · Examiné il y a environ 5 ans
Vlad B. · Examiné il y a environ 5 ans
Thomas C. · Examiné il y a environ 5 ans
Mariusz T. · Examiné il y a environ 5 ans
Lucas X. · Examiné il y a environ 5 ans
Gunnar J. · Examiné il y a environ 5 ans
Mael G. · Examiné il y a environ 5 ans
OMAGENE M. · Examiné il y a environ 5 ans
f
Victor V. · Examiné il y a environ 5 ans
Too many bugs, 2 hours to do things for 20 minutes
Cristian F. · Examiné il y a environ 5 ans
Anthony V. · Examiné il y a environ 5 ans
NOT WORKS!
Cristian F. · Examiné il y a environ 5 ans
Gregory E. · Examiné il y a environ 5 ans
Sasmal P. · Examiné il y a environ 5 ans
Hard to find an error as checkpoints don't give any information.
Yevhenii K. · Examiné il y a environ 5 ans
Erico M. · Examiné il y a environ 5 ans
Please check the output of the cloud shell and compare it with the lab guide provided. Something is not correct, I have attempted this lab twice and getting the same error in the same part of the lab. ], "responses": { "200": { "description": "OK" } }, "security": [], "parameters": [ { "in": "path", "name": "quizName", "description": "The name of the quiz", "required": true, "type": "string" } ] } } } } Swagger JSON File successfully generated in : ./quiz-api.json student_03_b89588804eaa@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-03-ae9d951a2150)$ gcloud endpoints services deploy quiz-api.json Waiting for async operation operations/services.quiz-api.endpoints.qwiklabs-gcp-03-ae9d951a2150.cloud.goog-0 to complete... ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config. 'location: "unknown location" kind: ERROR message: "http: In path template \'/api/quizzes//{quiz_name}\': unrecognized input at \'{\'." location: "quiz-api.json: Operation \'get\' in path \'//{quizName}\'" message: "Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : \'apiKey\'." ' ], "responses": { "200": { "description": "OK" } }, "security": [], "parameters": [ { "in": "path", "name": "quizName", "description": "The name of the quiz", "required": true, "type": "string" } ] } } } } Swagger JSON File successfully generated in : ./quiz-api.json student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ gcloud endpoints services deploy quiz-api.json Waiting for async operation operations/services.quiz-api.endpoints.qwiklabs-gcp-02-98032251c900.cloud.goog-0 to complete... ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config. 'location: "unknown location" kind: ERROR message: "http: In path template \'/api/quizzes//{quiz_name}\': unrecognized input at \'{\'." location: "quiz-api.json: Operation \'get\' in path \'//{quizName}\'" message: "Operation does not require an API key; callers may invoke the method without specifying an associated API-consuming project. To enable API key all the SecurityRequirement Objects (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#security-requirement-object) inside security definition must reference at least one SecurityDefinition of type : \'apiKey\'." ' student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ gcloud endpoints configs list --service="quiz-api.endpoints.$GOOGLE_CLOUD_PROJECT.cloud.goog" Listed 0 items. student_02_eecddb6bc6ed@cloudshell:~/cloudendpoints/start/endpoint (qwiklabs-gcp-02-98032251c900)$ This is another attempt but still getting the same error.
Qasem A. · Examiné il y a environ 5 ans
Piotr P. · Examiné il y a environ 5 ans
Laura M. · Examiné il y a environ 5 ans
Tobias G. · Examiné il y a environ 5 ans
Mehdi B. · Examiné il y a environ 5 ans
Divyam J. · Examiné il y a environ 5 ans
Li-Lan T. · Examiné il y a environ 5 ans
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.