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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Issues with Business Central API Item Creation Process

(1) ShareShare
ReportReport
Posted on by 30

Issues with Business Central API Item Creation Process

I am encountering an issue while attempting to create an item via the Business Central API. The API call returns the following error

API Endpoint: POST /api/v2.0/companies({companyId})/items
Request Body that I am passing : 

& here is the error:

 

Is there any configuration step we are missing to allow this posting group to be used in the API?
 
Any help or guidance you can provide would be greatly appreciated.
 
Thank you !
I have the same question (0)
  • Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at
    Hi, what do you mean by manually created?
  • Yi Yong Profile Picture
    2,563 Super User 2025 Season 2 on at
    Hello,
     
     
    How do you define it as created manually and not through extension?
     
    Can you show us the page inspection panel on the item card page with the custom field? An example below.
     
  • CU01100812-0 Profile Picture
    30 on at
    Hello,
     
    I am not getting any option to reply to the answers mentioned below, so I had to reply here.
     
    here is the page inspection panel on the item card page with the custom field that is Box Length
     
    I just want to fetch Box Length, Box Width, Box Height values 
       
     
    here I am sharing the all three fields present in the item table
     
     
    I would appreciate it if you could provide a solution to help me achieve this.
     
    Thanks!
     
     
  • Suggested answer
    Yi Yong Profile Picture
    2,563 Super User 2025 Season 2 on at
    Hello,
     
    From the provided page inspection, the field came from the app/extension, 
     
    As posted earlier, you need to add the app as a dependency in your app.json.
     
    You can find these informations on the 'Extension Management' page.
     
     
    Then run download symbols in VS code.
     
    in the alpackages folder, you will find the Empowerment Technologies Inc app.
     
    Now, you will be able to reference the field. If the app is there but you are still unable to do so, try closing and reopening the vscode.
  • Gerardo Rentería García Profile Picture
    25,234 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Hi, hope the following helps as well.
    Dynamics 365 Business Central: Find out which extension the field belongs to
     
    Thanks.
    ZHU
  • CU01100812-0 Profile Picture
    30 on at
    Hi, 

    Subject : Issues with Business Central API Item Creation Process

    I am encountering an another issue while attempting to create an item via the Business Central API. The API call returns the following error

    API Endpoint: POST /api/v2.0/companies({companyId})/items
    Request Body that I am passing : 
     
     
    & here is the error:
     
     
    Is there any configuration step we are missing to allow this posting group to be used in the API?
     
    Any help or guidance you can provide would be greatly appreciated.
     
    Thanks!
     
  • Suggested answer
    SalbaZamam Profile Picture
    90 on at
    If you want to access field by api for item table so you should must add that field using page extension on page,If you does not want show on page so you keep it visible false but it should be on page for api.
     
    If you have field on table and want to show on page then you must create page extension.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans