Open Closed

Twilio SMS - An exception confirm two verification text messages #1446


User avatar
0
deathmid2233@gmail.com created

{"error":{"code":null,"message":"There is no entity IdentityUser with id = 00000000-0000-0000-0000-000000000000!","details":null,"data":null,"validationErrors":null}}

I successfully configured Twilio And received a text message

When you submit a point, it pops up There is no entity IdentityUser with id = 00000000-0000-0000-0000-000000000000!


4 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi,

    I need the following information to better answer your question:

    • Your ABP Framework version.
    • Your User Interface type (Angular/MVC etc.)
  • User Avatar
    0
    deathmid2233@gmail.com created

    Hi,

    I need the following information to better answer your question:

    • Your ABP Framework version.
    • Your User Interface type (Angular/MVC etc.)

    ABP version 4.3.2 Your User Interface type: MVC

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    This is a bug, we will fix it. by the way, ticket refunded : )

    For now, can you try again after creating the following class under the **.Web/Pages/Account/Components/ProfileManagementGroup/PersonalInfo folders:

        [Dependency(ReplaceServices = true)]
        [ExposeServices(typeof(ConfirmPhoneNumberModalModel))]
        public class MyConfirmPhoneNumberModalModel : ConfirmPhoneNumberModalModel
        {
            private readonly IAccountAppService _accountAppService;
            
            public MyConfirmPhoneNumberModalModel(IAccountAppService accountAppService) : base(accountAppService)
            {
                _accountAppService = accountAppService;
            }
    
            public override async Task OnPostAsync()
            {
                await _accountAppService.ConfirmPhoneNumberAsync(new ConfirmPhoneNumberInput
                {
                    UserId = CurrentUser.GetId(),
                    Token = PhoneConfirmationToken
                });
            }
        }
    

    Note: Folders are just for keeping order :)

    Please let me know if it works in your case.

  • User Avatar
    0
    deathmid2233@gmail.com created

    This is a bug, we will fix it. by the way, ticket refunded : )

    For now, can you try again after creating the following class under the **.Web/Pages/Account/Components/ProfileManagementGroup/PersonalInfo folders:

        [Dependency(ReplaceServices = true)] 
        [ExposeServices(typeof(ConfirmPhoneNumberModalModel))] 
        public class MyConfirmPhoneNumberModalModel : ConfirmPhoneNumberModalModel 
        { 
            private readonly IAccountAppService _accountAppService; 
             
            public MyConfirmPhoneNumberModalModel(IAccountAppService accountAppService) : base(accountAppService) 
            { 
                _accountAppService = accountAppService; 
            } 
     
            public override async Task OnPostAsync() 
            { 
                await _accountAppService.ConfirmPhoneNumberAsync(new ConfirmPhoneNumberInput 
                { 
                    UserId = CurrentUser.GetId(), 
                    Token = PhoneConfirmationToken 
                }); 
            } 
        } 
    

    Note: Folders are just for keeping order :)

    Please let me know if it works in your case.

    yes, it works

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