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

Announcements

News and Announcements icon
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,265 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 33 Most Valuable Professional

Last 30 days Overall leaderboard