diff --git a/internal/repotools/cmd/syncAPIModels/main.go b/internal/repotools/cmd/syncAPIModels/main.go index 6ecfc2f33a1..c79561e4ca1 100644 --- a/internal/repotools/cmd/syncAPIModels/main.go +++ b/internal/repotools/cmd/syncAPIModels/main.go @@ -115,8 +115,8 @@ func findSmithyModels(modelPath string) (map[string]SourceModel, error) { name, path) } if shape.Traits.Service == nil { - return fmt.Errorf("smithy service doesn't have service trait %s, %s", - name, path) + // Ignore services that don't have an SDK id. + continue } if len(shape.Traits.Service.SDKID) == 0 { return fmt.Errorf("smithy service doesn't have sdkId value %s, %s",