diff --git a/api/nodes/serializers.py b/api/nodes/serializers.py index caaf61e6b86..b0ff4ec7323 100644 --- a/api/nodes/serializers.py +++ b/api/nodes/serializers.py @@ -1457,7 +1457,7 @@ class Meta: @staticmethod def get_id(obj): from addons.base.models import BaseAddonSettings - if issubclass(type(obj.provider_settings), BaseAddonSettings): + if not obj.provider_settings or issubclass(type(obj.provider_settings), BaseAddonSettings): return f'{obj.node._id}:{obj.provider}' else: return obj.provider_settings.gv_data.resource_id