Hi team,
Noticed something strange today, I have the code below to upload document to the file column, and it was wroking totally fine until today....
await safeAjax({
type: "PUT",
url: `${document.location.origin}/_api/mag_qualitymanagementquestions(${qualityManagementQuestionId})/mag_responsefile`,
contentType: "application/octet-stream",
processData: false,
data: fileContent,
headers: {
"content-length": fileContent.byteLength,
"x-ms-file-name": file.name
}
});
First error:
{"error":{"code":"90040101","message":"Attribute * in table mag_qualitymanagementquestions is not enabled for Web Api."}}
this is strange right, because mag_responsefile is exisit in the webapi site settings, but anyway i changed the site settings to *, then reseived the second error:
Second error:
{"error":{"code":"9004010D","message":"Common Data Service error occurred.","cdscode":"0x80040217"}}
I have publish all customisations and sync the portal
Cheers,
Dom

Report
All responses (
Answers (