Redirect to Edit form not working after I restored the list

hello,

i recently restored my NCR sharepoint list, and after i restored it, i noticed the redirect to edit form is not working. I am getting Exception from HRESULT: 0x80131904 please help.

this is the link of my restored list. please help.
itsamcomachinery.sharepoint.com/sites/NCR/Lists/Restore_Non%20Conforming%20Material%20Report_202403121/KUNALS%20VIEW.aspx

the below is my current code

fd.spSaved(function(result) {
var listId = fd.spFormCtx.ListAttributes.Id;
var itemId = result.Id;

//replace "https://domain.sharepoint.com/sites/sitename/subsite" with path to your site
//PageType=6 means Edit Form
result.RedirectUrl =
     "https://itsamcomachinery.sharepoint.com/sites/NCR/_layouts/15/listform.aspx?PageType=6&ListId="
    + listId + "&ID=" + itemId;
});

Hey @jyou,

Could you try commenting out all the code and then submitting the form?
If the error persists, please record a HAR file and send it to support@plumsail.com. Here's how to record a HAR: Troubleshooting Plumsail Forms for SharePoint Online in Microsoft 365 — SharePoint forms