Every time I try to update my typing through the cli command, I keep getting this error message without much information for me to troubleshoot.
2023/03/01 09:34:01 Recv First Byte
Error: failed to retrieve generated types: {"message":"Forbidden resource"}
Here is the command I am running:
npx supabase gen types typescript --project-id "$MY_ID" --schema public > types/supabase.ts --debug
If anyone has encountered this error before, please share your insights. I have used this command successfully in the past, but now it seems to be causing issues.