Open Closed

AbpValidationException ModelState is not valid! See ValidationErrors for details ValidationErrors infromation is not getting logged in Audit table #5484


User avatar
0
arvind.srivastava.tas created

Team - We need your help, Somehow we can not able to see the stack trace of the given exception. We have seen exception information under the table "AbpAuditLogs".

we are not able to see ValidationErrors details and need your help to locate the stack trace for these validation errors so that we can identify which props are invalid.

  • ABP Framework version: v7.3.0
  • UI type: Angular
  • DB provider: EF Core / Postgres
  • Tiered (MVC) or Auth Server Separated (Angular): Yes
  • Exception message and stack trace: Volo.Abp.Validation.AbpValidationException: ModelState is not valid! See ValidationErrors for details. at Volo.Abp.AspNetCore.Mvc.Validation.ModelStateValidator.Validate(ModelStateDictionary modelState) at Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)


10 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check this.

  • User Avatar
    0
    arvind.srivastava.tas created

    hi

    I will check this.

    Thanks @maliming

  • User Avatar
    0
    arvind.srivastava.tas created

    Any updates for this so far?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I m working on it.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I can't reproduce it. Are these logs written recently?

    Please share the code of ImportInvoiceApi

    You can also test it with a new template.

  • User Avatar
    0
    arvind.srivastava.tas created

    hi

    I can't reproduce it. Are these logs written recently?

    Please share the code of ImportInvoiceApi

    You can also test it with a new template.

    Let me share the code for ImportInvoiceApi with you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks. You can also test it with a new template.

  • User Avatar
    0
    arvind.srivastava.tas created

    Can I block your time for 10 mins to discuss this? Please share your email with us.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can join the zoom meeting and share your screen.

    https://us05web.zoom.us/j/88142500843?pwd=ahJl9ORiL3k4T82ZWRICH9E9uJMasY.1

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15