kamax-matrix / mxisd

Federated Matrix Identity Server
GNU Affero General Public License v3.0
220 stars 112 forks source link

The 'To' number ++3366302XXXX is not a valid phone number. (Status 500) #86

Closed knarou34 closed 6 years ago

knarou34 commented 6 years ago

Hello, i open a account twilio.com i have correctly fill theses options

threepid.medium.msisdn.connectors.twilio.accountSid: 'myAccountSid'
threepid.medium.msisdn.connectors.twilio.authToken: 'myAuthToken'
threepid.medium.msisdn.connectors.twilio.number: '+123456789'

and when i try to add phonenumber in riot.im, i get

The 'To' number ++3366302XXXX is not a valid phone number. (Status 500)

here log of homeserver.log

2018-09-08 18:45:22,297 - synapse.handlers.identity - 256 - INFO - POST-1073 - Proxied requestToken failed: HttpResponseException('500: ',)
2018-09-08 18:45:22,298 - synapse.http.server - 85 - INFO - POST-1073 - <XForwardedForRequest at 0x7f8b42b7e368 method='POST' uri='/_matrix/client/r0/account/3pid/msisdn/requestToken' clientproto='HTTP/1.0' site=8008> SynapseError: 500 - The 'To' number ++3366302XXXX is not a valid phone number.

and mxisd.log

Sep  8 18:45:22 MATRIX mxisd[36524]: #011at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
Sep  8 18:45:22 MATRIX mxisd[36524]: #011at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]
Sep  8 18:45:22 MATRIX mxisd[36524]: .293  INFO [nio-8090-exec-5]     i.k.m.c.DefaultExceptionHandler : Request POST http://supernuage.com/_matrix/identity/api/v1/validate/msisdn/requestToken - Error M_UNKNOWN: The 'To' number ++3366302XXXX is not a valid phone number.

thanks a lot K

knarou34 commented 6 years ago

sorry it's a twillio probleme thanks