Open Closed

Angular : In Personal Settings Phone Number Verify button gives server error #234


User avatar
0
talhazengin created
  • ABP Framework version: v2.9.0
  • UI type: Angular
  • UI version: v2.9.0
  • Identity Server Seperated (Angular): yes
  • Steps to reproduce the issue:

Verify gives server error.


18 Answer(s)
  • User Avatar
    0
    talhazengin created

    What can we say about this error?

  • User Avatar
    0
    armanozak created

    Hi @talhazengin,

    I cannot reproduce the error. I am attaching the screenshot of what I get.

    Could you please share the error details from the developer tools?

    Thanks.

  • User Avatar
    0
    armanozak created

    Hi @talhazengin,

    Has this issue been solved?

  • User Avatar
    0
    talhazengin created

    Hi @armanozak, I don't know what is the difference.

  • User Avatar
    0
    armanozak created

    Hi,

    Could you please share the request and response of the Http request with the error? You may find them in the Network pane of developer tools.

    Thanks.

  • User Avatar
    0
    talhazengin created

    Requests:

    Response

  • User Avatar
    0
    armanozak created

    Hi,

    It looks like a server error. Can you also send the request body please?

    Thanks.

  • User Avatar
    0
    talhazengin created

    I think there is no request body in chrome developer tools. Also second Request header says 204 No Content.

  • User Avatar
    0
    armanozak created

    Hi,

    Yes, this request does not have a body. The request looks fine, this is not about Angular app. Please check your server logs to find the error.

    Also second Request header says 204 No Content.

    I did not understand that. Is there a second request which does not get en error? Because, 204 is the correct status code this request gets as response from the server. In other words, the response should be 204 instead of 500.

  • User Avatar
    0
    armanozak created

    Hi @talhazengin,

    Has this issue been resolved? Can we close it?

    Thanks. Have a nice day.

  • User Avatar
    0
    drpdev2 created

    Hi,

    Have a nice day! Currently, I cannot verify phone number. It raised an error message as below. Do I need to do anything to use verify phone number?

    ABP Framework version: v2.9.0 UI type: Angular UI version: v2.9.0 Identity Server Seperated (Angular): yes

  • User Avatar
    0
    armanozak created

    Hi,

    Have you checked your server logs? It looks like a server problem.

  • User Avatar
    0
    armanozak created

    Hi,

    Have you been able to find the problem? Is it a server problem as suspected?

  • User Avatar
    0
    drpdev2 created

    Hi,

    The verify popup has already shown. I researched to use this feature. Could you kindly to explain the way to use this feature? Where is the configuration for send code to phone number in the project ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @drpdev2

    There are SendPhoneNumberConfirmationTokenAsync and ConfirmPhoneNumberAsync methods in the account\src\Volo.Abp.Account.Pro.Public.Application\Volo\Abp\Account\AccountAppService.cs file.

    The SendPhoneNumberConfirmationTokenAsync method will generate a token and send to your phone by PhoneService. The ConfirmPhoneNumberAsync method will validate the token.

    Your license allows you to download the source code of the module.

    If you still can't solve the problem, I can view it remotely through teamviewer. liming.ma@volosoft.com

  • User Avatar
    0
    alper created
    Support Team Director

    closed due to inactivity...

  • User Avatar
    0
    abpVAndy created

    It seems commercial only have phone send and confirm. It does not have phone registration: RegisterAsync

    Right?

  • User Avatar
    0
    alper created
    Support Team Director

    You can also verify phone number but you need to add SMS module. and purchase a subscription from Twilio. Otherwise you can write your own SMS module see https://abp.io/package-detail/Volo.Abp.Sms

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35