From dcc38adc22c0091b97409ca250925d59da0ae08b Mon Sep 17 00:00:00 2001 From: Shirley Cohen Date: Sun, 29 Oct 2023 15:15:09 -0500 Subject: [PATCH] added troubleshooting section --- README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5be22b..bc5dbf2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This README is organized into four parts:
- Part 1: [Deploying Tag Engine v2](#deploy)
- Part 2: [Testing your Setup with a User Account](#testa)
- Part 3: [Testing your Setup with a Service Account](#testb)
-- Part 4: [What To Do Next](#next)
+- Part 4: [Troubleshooting](#troubleshooting)
+- Part 5: [What To Do Next](#next)
### Part 1: Deploying Tag Engine v2 @@ -331,7 +332,23 @@ e) View the job status: Open the Data Catalog UI and verify that your tag was successfully created. If not, open the Cloud Run logs and investigate the problem.

-### Part 4: Next Steps +### Part 4: Troubleshooting + +If you encounter the error `The requested URL was not found on this server`, you'll need to redeploy the Cloud Run API service as follows: + +``` +cd datacatalog-tag-engine +gcloud beta run deploy tag-engine-api \ + --source . \ + --platform managed \ + --region $TAG_ENGINE_REGION \ + --no-allow-unauthenticated \ + --ingress=all \ + --memory=1024Mi \ + --service-account=$TAG_ENGINE_SA +``` + +### Part 5: Next Steps 1. Explore additional API methods and run them through curl commands: