- Newest
- Most votes
- Most comments
When a custom domain name in API Gateway is stuck in the "UPDATING" state, this can be a challenging issue to resolve. Here are some steps you can take:
-
Wait for the process to complete: API Gateway typically takes about 15 minutes to provision or update a custom domain name. If it's been significantly longer than this (which seems to be the case since it's been a week), then there's likely an underlying issue.
-
Check for certificate issues: If you're using an ACM certificate, verify that it's still valid and hasn't expired. Certificate updates can also take about 15 minutes to complete.
-
Contact AWS Support: Since you're unable to edit or remove the custom domain through both the AWS console and AWS CLI, this suggests there might be an underlying service issue. AWS Support would have the tools to investigate and potentially resolve this on the backend.
-
Check domain verification: One possible cause could be related to domain verification. If you purchased the domain through Route 53, ensure that it has been properly verified. Domains can be suspended if they fail verification within 15 days of purchase.
-
Try API Gateway API directly: As a last resort, you could try using the API Gateway API directly (not just through the CLI) to update or delete the domain name. The UpdateDomainName operation might provide more detailed error information.
Remember that attempting to delete and recreate the custom domain might be necessary once you regain control, but this should only be done after ensuring that it won't disrupt your services.
Sources
Custom Domain & API Gateway Connection suddenly disconnected. | AWS re:Post
Custom domain names for private APIs in API Gateway - Amazon API Gateway
DomainName - Amazon API Gateway
answered a year ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 9 months ago
