Open Closed

OnPostAsync 500 Error #4301


User avatar
0
ritesh87 created
  • ABP Framework version: v6.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: 500 Internal Server Error
  • Steps to reproduce the issue:"
    • Add new Edit Modal for a View page which includes an Id.
    • Pop up and all others are working. Save also works, but after the save is done through an App Service Error pops up at OnPostAsync without any detailed StackTrace.

public async Task<IActionResult> OnPostAsync() { try { ExamAdminMember.ExamId = Id; await _examAppService.CreateUpdateExamAdminMember(ExamAdminMember); return NoContent(); } catch (Exception ex) {

            throw;
        }
        
    }

1 Answer(s)
  • User Avatar
    0
    ritesh87 created

    Found the issue. Now worries

Made with ❤️ on ABP v9.0.0-preview. Updated on October 07, 2024, 08:52