You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Legal API - creating a new business in one call no longer works, a draft is required first #35543
API users used to be able to create a new business (incorporation, amalgamation, continuation in, registration) with a single call to POST /businesses. Since late July 2026 that call is always rejected with:
400 filing/business/identifier does not equal the identifier in the request path.
The reason is that the API makes up the temporary business number (the T-number) during that same call, then checks that the request already contains it. The caller cannot know a number that does not exist yet, so the check can never pass.
The only way that works today is two steps: first create a draft with POST /businesses?draft=true, which returns the T-number, then submit the filing with PUT /businesses/{T-number}/filings/{id} and the T-number in the body.
Who it affects
The sandbox Postman collection. All 14 "one-shot" examples (incorporation, amalgamation, continuation in) fail with this error. The "multi-step" examples still work. See #35453 (bcgov/developer.connect#294, bcgov/lear#4944).
Any vendor whose integration creates businesses in one call. They have been broken since the change went live.
Why it broke
bcgov/lear#4596 (2026-07-22, from #33970) added the rule that the business number in the request body must match the one in the URL. bcgov/lear#4605 (2026-07-24) excused drafts from that rule, but not the one-call path.
The one automated test that covers the one-call path only runs when a special flag is set, so the build never noticed.
What should happen
POST /businesses without draft=true should accept a valid new business filing again, with the API filling in the temporary number itself. The one-shot Postman examples would then return 201 as they did before.
How to see it
On dev with an API account, send the "File an IA" example from the sandbox collection (1-A. One-shot > Create a Numbered Company) to POST /business/api/v2/businesses. You get the 400 above. Add ?draft=true to the same call and you get 201 with a T-number.
Activity
gunanagar commentedon Nov 23, 2026
Tested in Sanbox - Creating IA in one call is working
gunanagar commentedon Nov 23, 2026
Test environment -