···326326 if (!res.ok) break;
327327328328 const body: ConstellationBacklinksResponse = await res.json();
329329- for (const rec of body.records) {
329329+ for (const rec of body.records || []) {
330330+ // Skip records without URI or value
331331+ if (!rec.uri || !rec.value) continue;
332332+330333 // Parse author DID from the URI (at://did/collection/rkey)
331334 const uriParts = rec.uri.split('/');
332335 const author = uriParts[2] || '';