diff --git a/internal/provider/intercept.go b/internal/provider/intercept.go index 6afcb82053e..c73f449bf44 100644 --- a/internal/provider/intercept.go +++ b/internal/provider/intercept.go @@ -349,6 +349,12 @@ func (r tagsResourceInterceptor) run(ctx context.Context, d schemaResourceData, } } + if inContext.ServicePackageName == names.SageMaker && inContext.ResourceName == "App" && err != nil { + if tfawserr.ErrMessageContains(err, "ValidationException", "UnknownError") { + err = nil + } + } + if err != nil { return ctx, sdkdiag.AppendErrorf(diags, "listing tags for %s %s (%s): %s", serviceName, resourceName, identifier, err) }