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

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,696 Moderator 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)

  • Suggested answer
    Amit Baru Profile Picture
    3,037 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

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 2,828

#2
Sumit Singh Profile Picture

Sumit Singh 2,617

#3
YUN ZHU Profile Picture

YUN ZHU 1,861 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans