Twilio SDK不对应的API
问题描述:
IM,试图让国家定价:Twilio SDK不对应的API
new CountryFetcher("US").fetch(twilioRestClient)
但它抛出反序列化错误:
com.twilio.exception.ApiException: Can not construct instance of com.twilio.type.InboundCallPrice$Type, problem: No enum constant com.twilio.type.InboundCallPrice.Type.TOLL FREE
at [Source: [email protected]; line: 1, column: 809] (through reference chain: java.util.ArrayList[1])
是它在那里SDK中的错误和我应该只使用休息或我做错了什么?
您使用的是Java库版本6或7?你能分享一下你的代码吗? – philnash
已经在他们的github中打开了一个问题,他们说这是一个bug并修复了它,将会在下一个版本中推出 – Dima
啊!太棒了!感谢您打开此问题! – philnash