Hello, I recently signed up for the Divemaxxing challenge. I pushed my first Dive just now: https://app.motherduck.com/dives/the-salmon-run-columbia-basin-migration-atlas-82913312-339e-4924-a372-181d4996ee4a?s=5d515c8e Unfortunately when trying to submit here: https://motherduck.com/dive-gallery/submit/ I get the following error: You must belong to a MotherDuck organization to submit dives.
I can see I'm logged in, and I'm on the free trial at this moment. I can share the dive link, but I can't seem to submit to the gallery.
Hey Mehrab, Thanks for sharing, I'm looking into this.
Now it can find my dive but I can't yet publish it
Just to confirm, the database your Dive referencing is a share of the database and not the database itself?
Also, how were you able to get around the error "You must belong to a MotherDuck organization to submit dives."?
I updated the share rules of the dive's connected db to 'Anyone with the share link' and that passed the first issue
Could you click the </> icon at the top of the Dive page, then look near the top of the file for a line like:
export const REQUIRED_DATABASES = [
{ type: 'share', path: 'md:_share/your_share/<uuid>', alias: 'your_alias' }
];And share with me the results.
export const REQUIRED_DATABASES = [ { type: 'database', path: 'md:salmon_run', alias: 'salmon_run' } ];
Okay, the Dive is referencing your database directly when it should reference the share of that database instead. Could you run LIST SHARES; to get the share URL? It should look something like md:_share/your_share/<uuid>. Then ask your agent to reference that share URL instead of the database itself.
Let me know if that works.
Gotcha, will let you know
Asked the agent, it confirmed that all 4 references have been updated to use the share URL (md:_share/salmon_run/fa4f78cf-28b9-4d3a-94f8-d9247316f5f1) but the same issue above persists
The same error message as before?
Yes, 'couldn't validate this dive's databases for public sharing'
.png)