web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    999 on at
    Integrate Chat GPT with Business Central
    Hello
     
    GetAuthtoken := STRSUBSTNO('Bearer %1', APIKey);
    RequestHeaders.Add('Authorization', GetAuthtoken);
     
    Add requestheader while calling API.
  • Suggested answer
    YUN ZHU Profile Picture
    92,727 Super User 2025 Season 2 on at
    Integrate Chat GPT with Business Central
    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
    11,974 Super User 2025 Season 2 on at
    Integrate Chat GPT with Business Central
    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans