© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
2 replies
jollygreenegiant

Deno Not Implemented error in Edge Function

I'm trying to follow the docs (https://supabase.com/docs/guides/functions/examples/push-notifications?platform=fcm) on setting up FCM with Supabase, but getting an error when the function is run. The error is as follows:

Event message
Error: Not implemented: crypto.Sign
    at notImplemented (https://deno.land/std@0.177.1/node/_utils.ts:6:11)
    at new Sign (https://deno.land/std@0.177.1/node/internal/crypto/sig.ts:10:9)
    at Object.createSign (https://deno.land/std@0.177.1/node/crypto.ts:41:12)
    at Object.sign (https://esm.sh/v135/jwa@2.0.0/deno/jwa.mjs:10:1429)
    at Object.B [as sign] (https://esm.sh/v135/jws@4.0.0/deno/jws.mjs:16:2178)
    at T.requestToken (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:4404)
    at T.getTokenAsyncInner (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:3391)
    at T.getTokenAsync (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:2968)
    at T.getToken (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:2117)
    at i.refreshTokenNoCache (https://esm.sh/v135/google-auth-library@9.4.1/deno/google-auth-library.mjs:37:23973)
Event message
Error: Not implemented: crypto.Sign
    at notImplemented (https://deno.land/std@0.177.1/node/_utils.ts:6:11)
    at new Sign (https://deno.land/std@0.177.1/node/internal/crypto/sig.ts:10:9)
    at Object.createSign (https://deno.land/std@0.177.1/node/crypto.ts:41:12)
    at Object.sign (https://esm.sh/v135/jwa@2.0.0/deno/jwa.mjs:10:1429)
    at Object.B [as sign] (https://esm.sh/v135/jws@4.0.0/deno/jws.mjs:16:2178)
    at T.requestToken (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:4404)
    at T.getTokenAsyncInner (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:3391)
    at T.getTokenAsync (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:2968)
    at T.getToken (https://esm.sh/v135/gtoken@7.0.1/deno/gtoken.mjs:8:2117)
    at i.refreshTokenNoCache (https://esm.sh/v135/google-auth-library@9.4.1/deno/google-auth-library.mjs:37:23973)


The function deploy successfully, but this error occurs when the function itself is run by the database trigger. I suspect the issue comes from the fact that this is running on v0.177.1 of Deno, which is nearly a year old at this point. Is that expected, or is there a way to update that?
Sending Push Notifications | Supabase Docs
Send Push Notifications to your React Native iOS and Android apps using Expo.
Sending Push Notifications | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Deno version in edge function
SupabaseSSupabase / help-and-questions
4y ago
import json deno edge function
SupabaseSSupabase / help-and-questions
4y ago
Edge functions + Deno Fresh?
SupabaseSSupabase / help-and-questions
4y ago
Using import maps in Deno Edge Functions
SupabaseSSupabase / help-and-questions
4y ago