team-telnyx / telnyx-java

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

Unexpected value 'Unknown' at LineTypeEnum #50

Closed osvaldo0222 closed 1 year ago

osvaldo0222 commented 2 years ago

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)

ADandyGuyInSpace commented 1 year ago

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.