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...
Answered

Integrate Chat GPT with Business Central

(3) ShareShare
ReportReport
Posted on by 159
I am integrating ChatGPT with Business Central, but I’m encountering some errors. Does anyone have any ideas on how to fix this?
 
 
I have the same question (0)
  • Verified answer
    Chavda Dharmendra Profile Picture
    1,000 on at
    Hello
     
    GetAuthtoken := STRSUBSTNO('Bearer %1', APIKey);
    RequestHeaders.Add('Authorization', GetAuthtoken);
     
    Add requestheader while calling API.
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, hope the following can give you some hints.
     
    And, starting from version 24 you can use the Chat with Copilot feature, which can search the BC database. Chat GPT cannot do this.
    Business Central 2024 wave 1 (BC24): Chat with Copilot
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Vahid Ghafarpour Profile Picture
    12,090 Super User 2025 Season 2 on at
    The error message shows that you didn't provide the API key
     
    And after that you can provide the key in the header of your request
     
     

    ** Please don't forget to close up the thread here by Like and verify it as an answer if it is helpful **

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans