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
401 Unauthorized message shows up in the Back End if the filing cant be performed as a result of allowable actions. #25112
Describe the bug in the current situation
When API Users perform a filing with a valid authorization and if the filling cant be performed as a result of the allowable actions then the API throws a 401 error confusing the users
Steps to reproduce the behavior: https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0884207/filings {POOST}
Payload:
{"filing":{"header":{"name":"putBackOff","date":"2025-01-02","certifiedBy":""},"business":{"identifier":"BC0884207","legalType":"BC","legalName":"0884207 B.C. LTD.","foundingDate":"2024-12-17T21:19:19.704468+00:00"},"putBackOff":{"details":"detail","courtOrder":{"effectOfOrder":"planOfArrangement","fileNumber":"123456789"}}}}
Expected behavior
The response message should return 403? To be confirmed before making any changes
Activity
severinbeauvais commentedon Mar 17, 2025
@thorwolpert Is it OK to make this change now, as it will impact the API spec?
Rajandeep98 commentedon Jun 10, 2025