Closed elyfran closed 8 years ago
Please, paste some code which causes error and the error itself. Most likely tests fail because you didn't filled configuration values in app.config
.
first ran the tests with the credentials that are configured in app.config and then tested it with my credentials . the credentials already entered are valid ?
These settings are valid ?
`
<add key="ApiHash" value="xx"/>
<add key="NumberToAuthenticate" value="xx"/>
<add key="NotRegisteredNumberToSignUp" value=""/>
<add key="NumberToSendMessage" value="xx"/>
<add key="UserNameToSendMessage" value="xx"/>
<add key="NumberToGetUserFull" value="xx"/>
<add key="NumberToAddToChat" value=""/>
`
+55 = DDI 88 = DDD 99999999 = number
Please, update your sources. And please don't use current config. You should provide your own config numbers. Only then you'll be able to get the code you need for authentication. Re. number: try number format without +
@steavy29
The exception referred to PHONE_MIGRATE_1 ?
PHONE_MIGRATE_X: the phone number a user is trying to use for authorization is associated with a different data center.
???
Please show your config and code.
`
`
Do you receive code or error happens even before that?
i receved the code.
I am running the test AuthUser().
I`m running the same test with your config. Can you send me the code you just received?
79532
I received another sms with: 61248
now: 38270
Ok. I've reproduced exception in protocol with your configuration. Can I use it tomorrow morning to fix the issue?
Sure. no problem.
Fine. I'll update status tomorrow then.
I'll be waiting. thx ;D
now receved : 71457
Now; 72267
I`ve pushed fix. Please check it out
OK. I will now test
Working perfectly. =D
Great. Thanks for reaching me here with this issue.
Now that this problem: AUTH_KEY_UNREGISTERED.
I am using the method : ImportContactByPhoneNumberAndSendMessage.
I'm assigning all parameters correctly and is occurring error connecting .
Stacktrace: TLSharp.Core.TelegramClient.d__13.MoveNext()
In the Teste only run AuthenticationWorks, DataCenterMigrationErrorHandling and TestConnection the others are in error.
Do u can help me?