Skip to content

Migrate Foreign addresses without postal codes to TEST #32067

Closed

Description

@ketaki-deodhar

Background:

Olga's team has just done a ticket to make validation on postal codes variable, not enforcing it for a list of countries that don't have postal codes. They've done this for Annual Reports only so far, they have an entire epic of tickets queued up to do this for all the other filings...

To test this a bit more migrate companies with foreign addresses missing postal codes over to TEST.
Things might break if any real user tries to update or create a new address with a foreign country without a postal code.

Original ticket: 31655

Tasks

  • Migrate Foreign addresses without postal codes to TEST
  • Test the functionality
  • Based on testing, create ticket to update mv_legacy_corps_data to support additional pre-screening for foreign addresses

Activity

  1. added
    Entities - Data Migration
    on Jan 15, 2026
  2. removed their assignment
    on Jan 15, 2026
  3. changed the title [-]Copy of Spike - look into required pre-screening updates for bad foreign address data logic[/-] [+]Migrate Foreign addresses without postal codes to TEST[/+] on Jan 15, 2026
  4. ketaki-deodhar commented on Feb 18, 2026

    @ketaki-deodhar
    CollaboratorAuthor

    Migrated 3 companies to TEST (BC1325335, BC1397808, BC1236949) with foreign addresses without postal codes.

    Test notes (I tested this un DEV, leaving the TEST environment for thorough testing):

    • AR can be filed (No error is thrown)
      - Director change filing
    • IA

    @dylan644 can you please have a look at it/test it to see if we need any further modification in pre-screening for foreign addresses?

  5. vishnup0422 commented on Feb 20, 2026

    @vishnup0422
    Collaborator

    Hello @ketaki-deodhar, Can not do the Director change filing
    Request URL
    https://test.api.connect.gov.bc.ca/business/api/v2/businesses/BC1325335/filings
    Request Method
    POST
    Status Code
    400 Bad Request

    { "errorMessage": "API backend third party service error.", "rootCause": { "errors": [ { "error": "Postal code is required.", "path": "/filing/changeOfDirectors/directors/3/mailingAddress/postalCode" }, { "error": "Postal code is required.", "path": "/filing/changeOfDirectors/directors/3/deliveryAddress/postalCode" } ], "filing": { "business": { "foundingDate": "2021-09-22T17:38:51.000+00:00", "identifier": "BC1325335", "legalName": "REAL FUNDER NETWORK CORP. - QA_IMPORT_TEST", "legalType": "BC" }, "changeOfDirectors": { "directors": [ { "actions": [ "appointed" ], "appointmentDate": "2026-02-20", "cessationDate": null, "deliveryAddress": { "addressCity": "Toronto", "addressCountry": "CA", "addressRegion": "ON", "postalCode": "M4K 3Z4", "streetAddress": "787-730 Pape Ave", "streetAddressAdditional": "" }, "id": 7, "isDirectorActionable": true, "isFeeApplied": true, "mailingAddress": { "addressCity": "Toronto", "addressCountry": "CA", "addressRegion": "ON", "postalCode": "M4K 3Z4", "streetAddress": "787-730 Pape Ave", "streetAddressAdditional": "" }, "officer": { "firstName": "newTestDir", "lastName": "LastNameTest", "middleInitial": "", "prevFirstName": "newTestDir", "prevLastName": "LastNameTest", "prevMiddleInitial": "" } }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "Sharjah", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Flat # 102, Al Kashmi building,", "streetAddressAdditional": "Maysaloon" }, "id": 1, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "Sharjah", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Flat # 102, Al Kashmi building,", "streetAddressAdditional": "Maysaloon" }, "officer": { "email": "", "firstName": "SREEJA", "id": 733996, "lastName": "ANISH KUMAR", "middleInitial": "", "partyType": "person", "prevFirstName": "SREEJA", "prevLastName": "ANISH KUMAR", "prevMiddleInitial": "" }, "role": "director" }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "Abu Dhabi", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Flat 602, 528 Building,", "streetAddressAdditional": "Sheikh Rashid Bin Saeed Street (Old Airport Road), AL-TIBBIYA" }, "id": 2, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "Abu Dhabi", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Flat 602, 528 Building,", "streetAddressAdditional": "Sheikh Rashid Bin Saeed Street (Old Airport Road), AL-TIBBIYA" }, "officer": { "email": "", "firstName": "PETER ADEL AWADALLAH", "id": 733993, "lastName": "ATHANASIEUS", "middleInitial": "", "partyType": "person", "prevFirstName": "PETER ADEL AWADALLAH", "prevLastName": "ATHANASIEUS", "prevMiddleInitial": "" }, "role": "director" }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "Riyadh", "addressCountry": "SA", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Unit 42B, Ramah Street, King Fahad,", "streetAddressAdditional": "" }, "id": 3, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "Riyadh", "addressCountry": "SA", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Unit 42B, Ramah Street, King Fahad,", "streetAddressAdditional": "" }, "officer": { "email": "", "firstName": "ASRAF MOHAMED AHMED", "id": 733986, "lastName": "METWALLI", "middleInitial": "", "partyType": "person", "prevFirstName": "ASRAF MOHAMED AHMED", "prevLastName": "METWALLI", "prevMiddleInitial": "" }, "role": "director" }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "Ruwais", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "N360 Villa RHC", "streetAddressAdditional": "Abu Dhabi" }, "id": 4, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "Ruwais", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "N360 Villa RHC", "streetAddressAdditional": "Abu Dhabi" }, "officer": { "email": "", "firstName": "ROY GEORGE", "id": 733995, "lastName": "N/A", "middleInitial": "", "partyType": "person", "prevFirstName": "ROY GEORGE", "prevLastName": "N/A", "prevMiddleInitial": "" }, "role": "director" }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "Dubai", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Villa 318, Al-Reem, Mira 2", "streetAddressAdditional": "" }, "id": 5, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "Dubai", "addressCountry": "AE", "addressRegion": "", "deliveryInstructions": "", "postalCode": "", "streetAddress": "Villa 318, Al-Reem, Mira 2", "streetAddressAdditional": "" }, "officer": { "email": "", "firstName": "MU'ATH FARID", "id": 733991, "lastName": "NASER", "middleInitial": "MOHAMMAD", "partyType": "person", "prevFirstName": "MU'ATH FARID", "prevLastName": "NASER", "prevMiddleInitial": "MOHAMMAD" }, "role": "director" }, { "actions": [], "appointmentDate": "2021-09-22", "cessationDate": null, "deliveryAddress": { "addressCity": "ABBOTSFORD", "addressCountry": "CA", "addressRegion": "BC", "deliveryInstructions": "", "postalCode": "V2S 7A5", "streetAddress": "3710 DUNDEE PLACE", "streetAddressAdditional": "" }, "id": 6, "isDirectorActionable": true, "isFeeApplied": false, "mailingAddress": { "addressCity": "ABBOTSFORD", "addressCountry": "CA", "addressRegion": "BC", "deliveryInstructions": "", "postalCode": "V2S 7A5", "streetAddress": "3710 DUNDEE PLACE", "streetAddressAdditional": "" }, "officer": { "email": "", "firstName": "JAMES", "id": 733989, "lastName": "RUTHERFORD", "middleInitial": "", "partyType": "person", "prevFirstName": "JAMES", "prevLastName": "RUTHERFORD", "prevMiddleInitial": "" }, "role": "director" } ] }, "header": { "certifiedBy": "vvv", "date": "2026-02-20", "effectiveDate": "2026-02-20T08:00:00.000+00:00", "email": "no_one@never.get", "isTransactionalFolioNumber": false, "name": "changeOfDirectors", "waiveFees": true } } } }

    image.png

  6. ketaki-deodhar commented on Feb 23, 2026

    @ketaki-deodhar
    CollaboratorAuthor

    Director Change fixes regarding No postal code feature are done to some degree but this is a knows issue now. (see 31436
    This is an API validation error. For Director Change filing and I think Correction filing, API validates the current directors as well. Hence, the error.
    I verified this with Megan as she worked on the Initial fix for AR.
    @vishnup0422 could you please test AR or IA? I tried IA in DEV and it worked https://dev.business-dashboard.bcregistry.gov.bc.ca/BC0888472
    I will update the test notes.

  7. vishnup0422 commented on Mar 5, 2026

    @vishnup0422
    Collaborator

    Hello @ketaki-deodhar, I have tried Correction - Incorporation Application filling and can not completed the File and pay

    Below is the error screen shot
    image.png

  8. ketaki-deodhar commented on Mar 5, 2026

    @ketaki-deodhar
    CollaboratorAuthor

    @vishnup0422 Correction will not work either. API validates the current directors as well in Correction. Just try filing an Incorporation Application.

    For migrated business, can file AR or file a new IA to register a new business

    Filed new IA in Test:

    image.png

    image.png

  9. vishnup0422 commented on Mar 6, 2026

    @vishnup0422
    Collaborator

    QA Validations are done on Test env
    filed a new IA to register a new business with Director Add as in Dubai and Saudi-- IA works fine

    image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities - Data Migration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions