Hey folks, I'm trying to generate types for my pro...
# help
s
Hey folks, I'm trying to generate types for my project following this guide: https://supabase.com/docs/guides/api/generating-types#generating-types-from-openapi-specification When I swap in my project url and anon key however, I'm getting an error (even when loading it in the browser),
Missing or invalid credentials.
n
Hello @scottsaavarie! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
Any ideas? 🙏
o
Hi Did you check if you're logged successfully (if your process vars are working properly) @scottsaavarie
n
scottsaavarie (2022-05-17)
d
Generating types was working fine for me a couple days ago, but now I'm getting the same error message. Nothing has changed and the URL/credentials are correct for me... I'm just getting
Missing or invalid credentials.
as a response. @Olyno
@scottsaavarie This fixed it: https://discord.com/channels/839993398554656828/976075315501740072/976104237228490792 It looks like the
apikey
query string was replaced with a header of the same name. This seems like an unannounced breaking change 😕
s
@dayvista Ah amazing, thanks for sharing this!