Open Closed

The required antiforgery request token was not provided in either form field "__RequestVerificationToken" or header value "RequestVerificationToken" #3406


User avatar
0
thaithiendi created

Hi Support team, I'm using Fileupload controll: I when i click upload button I has error: The required antiforgery request token was not provided in either form field "__RequestVerificationToken" or header value "RequestVerificationToken" This is my method in controller: How can i fix it?

  • ABP Framework version: v4.4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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

    hi

    Some support ticket from devexpress

    https://supportcenter.devexpress.com/ticket/details/t948537/devextreme-fileuploader-how-to-append-the-antiforgery-token-to-upload-requests

    https://supportcenter.devexpress.com/ticket/details/t694385/fileuploader-antiforgerytoken-issue-in-asp-net-core-2-1

  • User Avatar
    0
    thaithiendi created

    Thanks maliming,

    It really helps me

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