---
title: "Comment by Chris on \"Allowing users to invite others with Supabase Edge Functions\" | Hashnode"
description: "I get 403 Error, user not logged in and User Data: undefined when i call the edge function. I don&#39;t know whats wrong, can you help with this?"
url: "https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116"
---

[Discussion](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313)

Comment [Allowing users to invite others with Supabase Edge Functions](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313)

[Chris](https://hashnode.com/@smollito)

[Sep 9, 2023](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116)

I get 403 Error, user not logged in and User Data: undefined when i call the edge function. I don't know whats wrong, can you help with this?

[Rodrigo Mansueli](https://hashnode.com/@mansueli)

[Sep 10, 2023](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-64fe011e703e32bdbc1ce813)

Can you share a GitHub repo with a minimal reproducible example for me to look at?

[Chris](https://hashnode.com/@smollito)

[Sep 12, 2023](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-64ffee4ed3da8dcacfaa72cd)

[Rodrigo Mansueli](https://hashnode.com/@mansueli)

Thanks for your fast reply. Could this error come from calling the edge function from my local app instance? The edge function is already deployed on supabase live?

[Rodrigo Mansueli](https://hashnode.com/@mansueli)

[Sep 17, 2023](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-65073fff5b0b2cfbc5560596)

[Chris](https://hashnode.com/@smollito) if you are serving the function locally and running supabase locally, this should also work. I just tested this repo again and it is working here.

[Chris](https://hashnode.com/@smollito)

[Sep 22, 2023](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-650d3c12939d972b993248ec)

[Rodrigo Mansueli](https://hashnode.com/@mansueli)

Ok thanks a lot, i will try this again :)
