Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

401 Unauthorized #5

Open
ln613 opened this issue Jun 1, 2024 · 4 comments
Open

401 Unauthorized #5

ln613 opened this issue Jun 1, 2024 · 4 comments

Comments

@ln613
Copy link

ln613 commented Jun 1, 2024

When I try your demo, after I click the "start" button, I got the "401 Unauthorized" error. I already set my trial token in the code, what else do I need to do to make the demo work?

image

@SaiRev0
Copy link

SaiRev0 commented Jun 10, 2024

Did you get your Access Token Key from the trial key ?

@ln613
Copy link
Author

ln613 commented Jun 10, 2024

yes, from the trial token
image

@SaiRev0
Copy link

SaiRev0 commented Jun 10, 2024

@ln613 See in the code, we have to add our access key, which we can get from the trial token, you could not directly add this trial token into the codebase

Here is the API call you need to do to get your access key from the trial token
Screenshot 2024-06-10 182221

@iamfiscus
Copy link

I'm also getting the same error.

I pulled the Trial Key and put it in the ENV file.

How is the screenshot that different from what's happening in the code?
image

The first call to the server to generate a key works, but the call to stream still fails.
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants