Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Error while loading data from BC to PowerBi

Posted on by 26
Hi , 
 
i have a problem while im trying to load the data from BC to Power BI it works for all the table just for purchase Invoice Lines is not working it gives me this error:
DataSource.Error: Dynamics365BusinessCentral: Request failed: The remote server returned an error: (400) Bad Request. (You must specify an Id or a Document Id to get the lines.  CorrelationId:  77c9e642-fc43-4db9-9a84-d79d38f003cc.)

Details:

    DataSourceKind=Dynamics365BusinessCentral

    DataSourcePath=Dynamics365BusinessCentral
 
Kind Regards, 
Alejna 
 
  • Suggested answer
    Steven Renders Profile Picture
    Steven Renders 5,051 Super User 2024 Season 1 on at
    Error while loading data from BC to PowerBi
    In PBI you can not pull the Purchase Invoice Lines directly, you need to pull the Purchase Invoices API then in there expand the lines.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    Error while loading data from BC to PowerBi
    Hi, You can try contacting Community Support.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    CU02071649-0 Profile Picture
    CU02071649-0 6 on at
    Error while loading data from BC to PowerBi
    Please dear sir my id is locked way reason
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,822 Super User 2024 Season 2 on at
    Error while loading data from BC to PowerBi
    Yun Zhu is correct, I believe for that API you need to specific the document no./invoice no.
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    Error while loading data from BC to PowerBi
    Hi, This is very similar to the problem I discussed earlier.
     
    So, this should be standard control, you need to change your Endpoint or add a filter.
     
    Hope this helps.
    Thanks.
    ZHU
  • AM-01071407-0 Profile Picture
    AM-01071407-0 26 on at
    Error while loading data from BC to PowerBi

    Data Source.Error Dynamics365BussinesCentral: Request failed: the remote server returned an error: 400 Bad Request. (You must specify an id or a Document ID to get the lines)

    ​​​​​​​Sorry this is the error 

     
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,822 Super User 2024 Season 2 on at
    Error while loading data from BC to PowerBi
    It looks like your screenshot was not posted with your message. 
     
  • gdrenteria Profile Picture
    gdrenteria 12,183 Most Valuable Professional on at
    Error while loading data from BC to PowerBi
    Hi
    Please resend the error message or image.
    BR
    Gr

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans