Skip to content

Not authorized console error even with a working API key #1

@rayanfer

Description

@rayanfer

Describe the bug
I'm following this article - https://docs.speechmatics.com/voice-agents/flow/guides/react-native
and it was working till last weekend.

jwtRef.current = await createSpeechmaticsJWT({
        type: 'rt', // docs says use flow 
        apiKey: SPEECHMATICS_API_KEY,
        ttl: 3600,
});

This still doesn't work !
I dont know what broke

To Reproduce
Steps to reproduce the behavior:

 createSpeechmaticsJWT({
        type: 'rt', // docs says use flow 
        apiKey: SPEECHMATICS_API_KEY,
        ttl: 3600,
});

Expected behavior
jwt should not fail

Desktop (please complete the following information):

"react": "19.1.0",
    "react-native": "0.80.1",
 "@speechmatics/auth": "^0.1.0",
    "@speechmatics/flow-client-react": "^0.2.1",

Smartphone (please complete the following information):

  • Device: Samsung m16
  • OS: Android 14

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions