---
type: note
tags: [lovable, error, browser console log, note]
created: 2025-11-06T02:51:46.190Z
updated: 2025-11-15T20:19:56.959Z
---# failed to upload local card data to cloud

data URI)\n/9b587717-45b0-44d9-a099-ade17b0b4252/media/0.7870563289686894.png:1  Failed to load resource: the server responded with a status of 404 ()\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.7884441899065736.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.8907682499310712.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.7736222507522431.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.2721858536184496.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.49224121929957987.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.5282638340740297.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/9b587717-45b0-44d9-a099-ade17b0b4252/media/0.7870563289686894.png:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.0991012083539593.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nsdgqweatoqrhfndgdall.supabase.co/storage/v1/object/sign/media/https://dvbnetoenzlqtnbklnuj.supabase.co/storage/v1/object/public/backgrounds/93bc5c75-b112-402b-a580-3a5aa80a8957/media/0.6476668964032024.jpg:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 [MediaDisplay] Failed to create signed URL: Object\noverrideMethod @ hook.js:608\nhook.js:608 Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.\noverrideMethod @ hook.js:608\nindex-DIj7aJkJ.js:908 Loading snapshots for user: 9b587717-45b0-44d9-a099-ade17b0b4252\nindex-DIj7aJkJ.js:908 Loaded snapshots: Array(0)\nindex-DIj7aJkJ.js:908 Uploading main cards to cloud...\nindex-DIj7aJkJ.js:908 Found 5059 main cards to upload\nsdgqweatoqrhfndgdall.supabase.co/rest/v1/links?columns=%22id%22%2C%22user_id%22%2C%22label%22%2C%22url%22%2C%22content%22%2C%22keywords%22%2C%22item_type%22%2C%22media_url%22%2C%22media_type%22%2C%22media_file_name%22%2C%22media_items%22%2C%22attached_links%22%2C%22note_id%22%2C%22emoji%22%2C%22enabled%22%2C%22storage_path%22%2C%22created_at%22%2C%22updated_at%22:1  Failed to load resource: the server responded with a status of 400 ()\nhook.js:608 Error uploading main cards: Object\noverrideMethod @ hook.js:608\nhook.js:608 Upload cards error: Object\nProfile uploaded successfully\nindex-DIj7aJkJ.js:402 Uploading 5092 links to cloud...\nindex-DIj7aJkJ.js:385  POST https://sdgqweatoqrhfndgdall.supabase.co/rest/v1/links?columns=%22id%22%2C%22user_id%22%2C%22label%22%2C%22url%22%2C%22content%22%2C%22keywords%22%2C%22item_type%22%2C%22media_url%22%2C%22media_type%22%2C%22media_file_name%22%2C%22media_items%22%2C%22attached_links%22%2C%22note_id%22%2C%22emoji%22%2C%22position%22%2C%22enabled%22%2C%22storage_path%22%2C%22created_at%22%2C%22updated_at%22 400 (Bad Request)\n(anonymous) @ index-DIj7aJkJ.js:385\n(anonymous) @ index-DIj7aJkJ.js:385\na @ index-DIj7aJkJ.js:385\nPromise.then\nc @ index-DIj7aJkJ.js:385\n(anonymous) @ index-DIj7aJkJ.js:385\nVM @ index-DIj7aJkJ.js:385\n(anonymous) @ index-DIj7aJkJ.js:385\nthen @ index-DIj7aJkJ.js:363\nindex-DIj7aJkJ.js:402 Links upload error: {code: '23514', details: null, hint: null, message: 'new row for relation "links" violates check constraint "links_media_type_check"'}\noverrideMethod @ hook.js:608\nuploadToCloud @ index-DIj7aJkJ.js:402\nawait in uploadToCloud\nl @ index-DIj7aJkJ.js:411\nf @ index-DIj7aJkJ.js:411\nindex-DIj7aJkJ.js:402 Error uploading to cloud: Error: Links upload failed: new row for relation "links" violates check constraint "links_media_type_check"\n    at m5.uploadToCloud (index-DIj7aJkJ.js:402:45450)\n    at async l (index-DIj7aJkJ.js:411:851)\noverrideMethod @ hook.js:608\nuploadToCloud @ index-DIj7aJkJ.js:402\nawait in uploadToCloud\nl @ index-DIj7aJkJ.js:411\nf @ index-DIj7aJkJ.js:411\nindex-DIj7aJkJ.js:411 Auto-sync failed: Error: Links upload failed: new row for relation "links" violates check constraint "links_media_type_check"\n    at m5.uploadToCloud (index-DIj7aJkJ.js:402:45450)\n    at async l (index-DIj7aJkJ.js:411:851)


---
**Keywords:** lovable, error, browser console log, note
