Hi, I just got stuck with my app development and can’t exactly figure it out how to proceed without proceeding with worst and most tedious alternative option. I suppose the “Deploy” in my case does not relate to the Supabase Deploy button since that is obvious, I’ve been using it since I started developing my app, I had significant progress with my latest version 375 but didn’t encounter an issue similar to this one. I can’t find any “Sync Backend” button neither and no any experience with Supabase CLI. I might be missing something and would much appreciate if someone could assist me in solving this issue with a step-by-step guideline be it via Figma Make (if doable) or via Supabase or terminal as a last option.
Here are the details the last response from Figma Make:
“The root cause is confirmed: the /lorem/ipsums endpoint hasn't been deployed to your Supabase backend yet.
Here's what's happening:
- Your frontend calls
/lorem/ipsums(line 311 in CompanyDashboardUpdated.tsx) - The deployed backend doesn't have this endpoint
- The request somehow returns the response structure from
/company/profileinstead:{lorem: null, lorem1: null, lorem2: []}
To fix this, you need to deploy the backend function. In Figma Make, there should be a way to deploy or sync your backend changes. Look for:
- A "Deploy" button in the Figma Make UI
- A "Sync Backend" or "Update Functions" option
- Or you may need to manually deploy using the Supabase CLI if Figma Make doesn't auto-deploy
If you have access to a terminal/command line, you can deploy with:
supabase functions deploy make-server-abcxyz123
Alternative temporary workaround: If deployment is complicated, I can modify the frontend to use the existing /lorem/deliveries endpoint instead, but this would require changing how the admin delivers matches to use delivery: keys instead of ipsum: keys. This is a bigger architectural change.
What needs to be deployed: The /lorem/ipsums endpoint code that starts at line 5527 in /tmp/sandbox/supabase/functions/server/index.tsx. This endpoint:
- Fetches the
lorem_userrecord to get the companyId - Queries all matches with prefix
match:lorem:${loremId}: - Filters for status 'approved' (delivered matches)
- Returns enriched match data with talent and role details
Once deployed, the debug logs I added will appear in your Supabase logs, and delivered candidates will display in your dashboard.
Can you check if Figma Make has a deployment option, or let me know if you need help with an alternative approach?”
