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 / Web API function issue...
Power Pages
Suggested Answer

Web API function issue on custom tables

(1) ShareShare
ReportReport
Posted on by 159 Season of Giving Solutions 2025
Hi,
 
I was trying to add records in dataverse using the web api functions. I followed the steps in the MS document that use the account table and manage to make it work. Though when trying to do the same steps for my custom table. Cannot seem to make it work.
 
Created both site settings.
 
Webapi/<<table name>>/enabled
Webapi/<<table name>>/fields
 
for the table name section, i have tried both logical name and plural name as well to see if that is the issue.
 
Created a table permission with Global access and even enabled all access type. Create and Read. All web roles are added as well.
 
Doing URL check to see if its working test.powerappsportals.com/_api/<<table plural name>>
 
Not sure what i am missing to make it work.
Categories:
I have the same question (0)
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    817 on at
    For the Web API endpoint, make sure you're using the plural name of the custom table (in site settings too), not the logical or schema name. This is case-sensitive and must match exactly what’s defined in Dataverse.
  • Suggested answer
    Fubar Profile Picture
    8,501 Super User 2026 Season 1 on at
    It would be more informative if you included the actual values you are using, and also tell us what error message you are receiving.
     
    The Site Settings should be the logical name values (will be all lower case, and as a custom table will also include the prefix e.g. new_mynewtable ),
    For your fields list Site Setting, initially set its value to an asterisk * (once working, set it to the specific fields comma separated)
     
    Your API call should use the Set Name (often this is the plural name, but technically can be different)
     
    You can copy the values from Dataverse
     
     
     
     
     
    Also note, after making changes to Site Settings you may need to clear/purge the Portals cache for them to take affect (under the 3 dots next to your site in the admin portal)
     
  • Suggested answer
    Suriyanarayanan V Profile Picture
    201 on at
    Hi,
     

    Use Browser Dev Tools

    Open the browser’s Network tab and inspect the request/response when calling the API. It often gives clues like:

    • "Permission denied"

    • "Entity not found"

    • "Field not exposed"

     

     

    Here are common pitfalls to double check:

     
    Symptom Likely Issue
    403 Forbidden Missing web role or table permission
    401 Unauthorized User not authenticated and anonymous not allowed
    404 Not Found Incorrect plural name or table not exposed
    Error message about field Field not in allowed fields site setting
    Silent fail Browser blocks POST due to missing headers or CSP

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 42

#2
omkarsupreme Profile Picture

omkarsupreme 37

#3
Valantis Profile Picture

Valantis 35

Last 30 days Overall leaderboard