diff --git a/awx/api/views.py b/awx/api/views.py index 7015523b2b..e07b7f8b96 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -3089,6 +3089,8 @@ class JobTemplateCallback(GenericAPIView): matches.update(host_mappings[host_name]) except socket.gaierror: pass + except UnicodeError: + pass return matches def get(self, request, *args, **kwargs):