Skip to main content

Notifications

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 !
  • Suggested answer
    SalbaZamam Profile Picture
    56 on at
    Issue in Fetching Custom Fields Values from Item Table
    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.
  • CU01100812-0 Profile Picture
    30 on at
    Issue in Fetching Custom Fields Values from Item Table
    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
    YUN ZHU Profile Picture
    83,271 Super User 2025 Season 1 on at
    Issue in Fetching Custom Fields Values from Item Table
    Hi, hope the following helps as well.
    Dynamics 365 Business Central: Find out which extension the field belongs to
     
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    19,080 Most Valuable Professional on at
  • Suggested answer
    Yi Yong Profile Picture
    2,060 Super User 2025 Season 1 on at
    Issue in Fetching Custom Fields Values from Item Table
    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.
  • CU01100812-0 Profile Picture
    30 on at
    Issue in Fetching Custom Fields Values from Item Table
    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!
     
     
  • Yi Yong Profile Picture
    2,060 Super User 2025 Season 1 on at
    Issue in Fetching Custom Fields Values from Item Table
    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.
     
  • Mohana Yadav Profile Picture
    60,232 Super User 2025 Season 1 on at
    Issue in Fetching Custom Fields Values from Item Table
    Hi, what do you mean by manually created?

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,028

#2
YUN ZHU Profile Picture

YUN ZHU 972 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 718

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans