diff --git a/atproto.py b/atproto.py
index cc861d57..3dd964dc 100644
--- a/atproto.py
+++ b/atproto.py
@@ -906,7 +906,7 @@ def fetch_blob(url, blob_field, name, check_size=True, check_type=True):
logger.warning(e)
continue
- if link:
+ if link and link.as1:
if img := util.get_url(link.as1, 'image'):
props = appview.defs['app.bsky.embed.external#external']['properties']
fetch_blob(img, props, name='thumb',
diff --git a/tests/test_atproto.py b/tests/test_atproto.py
index 491a9f87..878f3590 100644
--- a/tests/test_atproto.py
+++ b/tests/test_atproto.py
@@ -1575,7 +1575,7 @@ def test_send_note_existing_repo(self, mock_create_task):
-