team-telnyx / telnyx-java

Java SDK for the Telnyx API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected value 'Unknown' at LineTypeEnum

osvaldo0222 opened this issue · comments

I have the following error when sending an SMS using the createMessage method:

Caused by: java.lang.IllegalArgumentException: Unexpected value 'Unknown' at com.telnyx.sdk.model.OutboundMessagePayloadTo$LineTypeEnum.fromValue(OutboundMessagePayloadTo.java:137)

Are you using the sample guides? The current tests are passing if you follow the examples/tests and format around there. Your issue might be fixed with latest update, let us know and create a new issue if error persists.