Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
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:
  • Inogic Profile Picture
    1,023 Super User 2025 Season 1 on at
    Re: Common Data Service error occurred. cdscode 0x80040217

    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43