Starts in:
1 DAY
23 HRS
54 MIN
52 SEC
Starts in:
1 D
23 H
54 M
52 S
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 November 20, 2024, 13:06