team-telnyx / telnyx-java

Java SDK for the Telnyx API
10 stars 20 forks source link

AccessTokensApi #40

Closed ShiXiaoXiang2019 closed 3 years ago

ShiXiaoXiang2019 commented 3 years ago

The telephonycredential was not used when getting apitoken

Exception when calling AccessTokensApi#createTelephonyCredentialToken Status code: 500 Reason: null Response headers: {date=[Wed, 21 Jul 2021 10:00:02 GMT], content-length=[0], server=[Telnyx API], x-envoy-upstream-service-time=[3]} com.telnyx.sdk.ApiException: error at com.telnyx.sdk.ApiClient.invokeAPI(ApiClient.java:973) at com.telnyx.sdk.api.AccessTokensApi.createTelephonyCredentialTokenWithHttpInfo(AccessTokensApi.java:113) at com.telnyx.sdk.api.AccessTokensApi.createTelephonyCredentialToken(AccessTokensApi.java:61) at com.tongsoft.voice.twilio.service.Impl.GetAccessTokenServiceImpl.main(GetAccessTokenServiceImpl.java:128)