Skip to content

Unable to generate NAT token for ireland region #864

Closed
@manoharc1999

Description

@manoharc1999

Describe the bug

Hi Im try to fetch turn/stun credentials for ireland region via twilio java sdk using the following reference https://www.twilio.com/docs/stun-turn.

Im getting api exception saying Endpoint is not supported in realm 'ie1'.
How do i generate the turn credentials for ireland region?
Note i will not be able to use other region credentials as it will be data privacy violation

Code snippet

            Twilio.setRegion("ie1");
            Twilio.setEdge("dublin");
            Token token = Token.creator().create();

### Actual behavior

getting api exception saying `Endpoint is not supported in realm 'ie1'`.


### Expected behavior

Turn. stun credentials to be generated

### twilio-java version

10.9.1

### Java version

21

### Logs or error messages

_No response_

### Additional context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions