CamBlackwood
CamBlackwood
Explore posts from servers
WWasp
Created by CamBlackwood on 4/22/2025 in #🙋questions
Best way of working out what's causing a 500 in production
@kapa.ai i managed to connect to the db, it keeps throwing errors - [ERROR] unable to determine if server is in recovery
19 replies
WWasp
Created by CamBlackwood on 4/22/2025 in #🙋questions
Best way of working out what's causing a 500 in production
@kapa.ai for restarting the database, I tried running that command and got Error: no active leader found
19 replies
WWasp
Created by CamBlackwood on 4/22/2025 in #🙋questions
Best way of working out what's causing a 500 in production
@kapa.ai -2 machines for group 'app' on region 'lhr' of size 'shared-cpu-1x' Error: --yes flag must be specified when not running interactively
19 replies
WWasp
Created by CamBlackwood on 3/12/2025 in #🙋questions
Issues with upgrading wasp project to v15
hahah, very true!
20 replies
WWasp
Created by CamBlackwood on 3/12/2025 in #🙋questions
Issues with upgrading wasp project to v15
ahh, sorry didn't realise about the migration docs (tbh, I forgot I needed to do a migration process for a new version)! Not sure how easy it would be to implement but could they be linked in the error somehow?
20 replies
WWasp
Created by CamBlackwood on 3/12/2025 in #🙋questions
Issues with upgrading wasp project to v15
"prisma": "4.16.2",
"prisma": "4.16.2",
20 replies
WWasp
Created by CamBlackwood on 3/12/2025 in #🙋questions
Issues with upgrading wasp project to v15
@kapa.ai what’s the simplest way of me downgrading my wasp version?
20 replies
WWasp
Created by CamBlackwood on 3/12/2025 in #🙋questions
Issues with upgrading wasp project to v15
@kapa.ai none of those steps worked this time unfortunately. I'm stuck for now
20 replies
WWasp
Created by CamBlackwood on 1/13/2025 in #🙋questions
Is this an invalid action? Getting a 500 when calling, no error logs
@matijash for the original bug - I'm not 100% sure to be honest. It may have been a ts compilation issue - once I removed the conflicting where statement it started working
8 replies
WWasp
Created by CamBlackwood on 1/13/2025 in #🙋questions
Is this an invalid action? Getting a 500 when calling, no error logs
I've solved it - for future reference, I misunderstood an error message so was trying to identify by two different where arguments. I'm not sure what caused the original issue, but it's sorted now
8 replies
WWasp
Created by CamBlackwood on 1/10/2025 in #🙋questions
UseQueries Support unavailable - best way around it?
Hey @miho - I basically just tried to import the useQueries the same way I do with use query (from wasp operations) - in the end I just used a custom operation to return what I needed as an array which was more efficient - if that hadn’t worked I’d have used it from tanstack query directly, wasn’t sure if I was able to do that or not in combination with wasp until your above message 🙂
12 replies
WWasp
Created by CamBlackwood on 1/10/2025 in #🙋questions
UseQueries Support unavailable - best way around it?
@kapa.ai so my issue is that I want to get the most recent message from an array of chat ids, so it's a variable number of queries
12 replies
WWasp
Created by CamBlackwood on 1/3/2025 in #🙋questions
Relation returned on findFirst but not findMany?
@kapa.ai I restarted wasp and it worked 😂 Thank you for your help as always my robot friend
14 replies
WWasp
Created by CamBlackwood on 1/3/2025 in #🙋questions
Relation returned on findFirst but not findMany?
@kapa.ai here's the schema
model Creators {
id Int @id @default(autoincrement())
userId Int @unique
name String
tiktok Boolean
twitter Boolean
instagram Boolean
youtube Boolean
tiktokUsername String?
instagramUsername String?
youtubeUsername String?
niche String @default("Technology")
country String @default("United States")
tiktokFollowers Int @default(0)
twitterFollowers Int @default(0)
instagramFollowers Int @default(0)
youtubeFollowers Int @default(0)
profileSlug String?
profile CreatorProfile?
verified Boolean @default(false)
verificationSubmitted Boolean @default(false)
stats VerifiedCreatorTikTokStats?
youtubeStats VerifiedCreatorYouTubeStats?
}

model CreatorProfile {
id String @id @default(uuid())
profilePicUrl String
creatorId Int @unique
bio String?

creator Creators @relation(fields: [creatorId], references: [id], onDelete: Cascade)
}
model Creators {
id Int @id @default(autoincrement())
userId Int @unique
name String
tiktok Boolean
twitter Boolean
instagram Boolean
youtube Boolean
tiktokUsername String?
instagramUsername String?
youtubeUsername String?
niche String @default("Technology")
country String @default("United States")
tiktokFollowers Int @default(0)
twitterFollowers Int @default(0)
instagramFollowers Int @default(0)
youtubeFollowers Int @default(0)
profileSlug String?
profile CreatorProfile?
verified Boolean @default(false)
verificationSubmitted Boolean @default(false)
stats VerifiedCreatorTikTokStats?
youtubeStats VerifiedCreatorYouTubeStats?
}

model CreatorProfile {
id String @id @default(uuid())
profilePicUrl String
creatorId Int @unique
bio String?

creator Creators @relation(fields: [creatorId], references: [id], onDelete: Cascade)
}
14 replies
WWasp
Created by CamBlackwood on 12/13/2024 in #🙋questions
Can't access auth methods?
Ahh I see, thanks @miho I think that’s probably what it is - I don’t have any oauth enabled at all. I’ll do that now 🙂
9 replies
WWasp
Created by CamBlackwood on 12/10/2024 in #🙋questions
Best way of handling custom oauth call Frontend to Backend?
Thanks Miho, I'll give this a look
29 replies
WWasp
Created by CamBlackwood on 12/10/2024 in #🙋questions
Best way of handling custom oauth call Frontend to Backend?
Just to update - I’ve given it a bit of a crack so far; unfortunately TikTok is not supported by arctic so I’m going to try and work around it, I don’t see why it isn’t possible
29 replies
WWasp
Created by CamBlackwood on 12/10/2024 in #🙋questions
Best way of handling custom oauth call Frontend to Backend?
that looks perfect, thanks so much 🙏
29 replies
WWasp
Created by CamBlackwood on 12/10/2024 in #🙋questions
Best way of handling custom oauth call Frontend to Backend?
@martinsos just reading this back again- does that mean I need to reinvoke wasp auth? cc @miho
29 replies
WWasp
Created by CamBlackwood on 12/10/2024 in #🙋questions
Best way of handling custom oauth call Frontend to Backend?
Thanks!
29 replies