ven
04/30/2023, 3:12 AM// @ts-ignore: module not found
import { serve } from "server";
// @ts-ignore: module not found
import { corsHeaders } from "../_shared/cors.ts";
// @ts-ignore: Deno linting
let SLACK_WEBHOOK_URL = "";
// connect to slack API
serve(async (req: Request) => {
// This is needed if you're planning to invoke your function from a browser.
if (req.method === "OPTIONS") {
return new Response("ok", { headers: corsHeaders });
}
// if the request is not POST, return 405
if (req.method !== "POST") {
return new Response("Method not allowed", { status: 405 });
}
...
but i still get the error
https://cdn.discordapp.com/attachments/1102069834994425966/1102069835120246844/CORS_error.png▾
иuғe
04/30/2023, 3:55 AMhttps://cdn.discordapp.com/attachments/1102080782350172230/1102081940049371296/image.png▾
dave
04/30/2023, 5:19 AMMarkoLainovic
04/30/2023, 8:25 AMhttps://cdn.discordapp.com/attachments/1102148777051168840/1102148777227337830/image.png▾
Muezz
04/30/2023, 9:58 AMMarkoLainovic
04/30/2023, 10:16 AMconst supabase = createClient(supabaseUrl, supabaseKey)
const { data, error } = await supabase
.storage
.getBucket('images')
if (error) {
res.status(400).json({ error });
} else {
res.status(200).json({ data });
}
and the policy in my public bucket is:
(bucket_id = 'images'::text)
alas, I am getting an error:
{
"error": {
"name": "StorageApiError",
"message": "The resource was not found",
"status": 400
}
}
Any ideas?DevoryLIVE (Greg)
04/30/2023, 10:16 AMjs
const { data: catchData, error: catchError } = await supabase
.from('FiakomonCatch')
.select(`
*,
Fiakomon: fiakomonID (
*,
Rarity: rarity (*)
)
`)
.eq('twitchID', user?.identities[0].id);
we use this for return all Catch and in this sql table we have 2 collum channelID and userID and i want to return the auth.identities equal to this id for dont create a twitch api on catch map loop for get the display name of user
if you have a idea who i can make this 😁 and we have try to create relation but can not because the auth.identities id is not uniqueHugos
04/30/2023, 11:51 AMiStun4Fun
04/30/2023, 2:18 PMRazil
04/30/2023, 3:05 PMsupabase start
, now I have it in a state that I want to push
it to remote, linked instance but I cannot see how you do that.
How I can generate a SQL file with the schema from my public
table into the local supbase
folder?Crazy Unicorn
04/30/2023, 3:22 PMhttps://cdn.discordapp.com/attachments/1102253586936774796/1102253587356209243/image.png▾
Hugos
04/30/2023, 4:14 PMjs
{
statusCode: '403',
error: '',
message: 'permission denied for schema storage'
}
Anyone know why this is happening?
https://cdn.discordapp.com/attachments/1102266631691980891/1102266631889109134/image.png▾
BladeRunner_K
04/30/2023, 6:07 PMLord of Nork
04/30/2023, 6:32 PM0xDisciple
04/30/2023, 6:56 PMJon
04/30/2023, 7:53 PMdylan
04/30/2023, 9:39 PMUNABLE_TO_GET_ISSUER_CERT_LOCALLY
when I try to read from my database using the supabase-js client. I installed the SSL certificate from my dashboard and haven't had this issue before, as I've run a few projects on Supabase before. Any suggestions on what I could do?
The only code I'm running is supabase.from('casts').select('*').limit(100)
after creating a Supabase client.Ammar Almuain
04/30/2023, 9:46 PMedent
04/30/2023, 10:22 PMjstansbe
04/30/2023, 10:47 PMven
04/30/2023, 11:33 PMhttps://cdn.discordapp.com/attachments/1102377155410804827/1102377867033190520/github_action_fails_import_maps.png▾
nitehawk
05/01/2023, 12:13 AMhttps://cdn.discordapp.com/attachments/1102387402997235762/1102387403282456726/image.png▾
sudoramen
05/01/2023, 1:14 AMsupabase-js
, I get this error: {"code": "XX000", "details": null, "hint": null, "message": "http_request.content is NULL"}
. This is a recent situation that's occurring with code that has proven to work before. Could there be an external situation with my account causing this issue?dave
05/01/2023, 2:09 AMdave
05/01/2023, 3:15 AMTokenHash
from a Magic Link?Hartaithan
05/01/2023, 4:41 AMFranck
05/01/2023, 4:52 AMDominik
05/01/2023, 9:39 AMWeykon
05/01/2023, 11:31 AMon
and subscribe
functions for channels.Sonny Vesali
05/01/2023, 11:49 AMinvalid_client
error on my mobile component.
Any guidance on what to put for redirect urls would be very helpful. I've seen in some docs that the service_id is only necessary if you have some web interface, and that if I were to use the native sign_in_with_apple function I would only have to get my bundle_id part working, but I have a feeling that all the steps are necessary when fitting this in with supabase. Source on what I just said https://pub.dev/packages/sign_in_with_apple
https://cdn.discordapp.com/attachments/1102562334360219758/1102562335287152700/Screenshot_2023-05-01_at_6.31.06_AM.png▾
https://cdn.discordapp.com/attachments/1102562334360219758/1102562335903711262/Screenshot_2023-05-01_at_6.43.00_AM.png▾