web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Common Data Service er...
Power Pages
Unanswered

Common Data Service error occurred. cdscode 0x80040217

(0) ShareShare
ReportReport
Posted on by 314 Super User 2024 Season 1

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

 

Categories:
I have the same question (0)
  • Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at

    Hi @domliu ,

    You have encountered with one the known Issues of CDS Error,

     

    Inogic_0-1695901407735.png

     

    You can try out by Creating a Site Settings for Data Filter

    Name: Webapi/<table name>/disableodatafilter
    value : true


    Please Refer to the Given Microsoft Blog for Known issues,

    https://learn.microsoft.com/en-us/power-pages/configure/web-api-overview#known-issues 


    Thanks!

     

    Inogic Professional Services Division

    Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

    Drop an email at crm@inogic.com

    Services:  http://www.inogic.com/services/

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard