Skip to main content

Notifications

Announcements

No record found.

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

Error on calling all endpoints 'The supplied company name is not valid'

(0) ShareShare
ReportReport
Posted on by 10

When calling an endpoint via the API I am getting this error.


"providerErrorCode": 400,
"message": "Bad Request",
"providerMessage": "error - {code=Unknown, message=The supplied company name is not valid. CorrelationId: 925d2b33-cb78-46eb-95cd-078e7eac966b."

Has anyone ever received this and how do I resolve?

  • Suggested answer
    Amit Baru Profile Picture
    Amit Baru 3,025 on at
    RE: Error on calling all endpoints 'The supplied company name is not valid'

    Hi,

    Pls share extension where you get data.

    Regards

    Amit Sharma

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Error on calling all endpoints 'The supplied company name is not valid'

    Hi,

    Please share the API format what you used.

    correct format as per below

    api.businesscentral.dynamics.com/.../user domain name/environment name/api/v2.0/companies(companyIDgoeshere)

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans