Skip to navigation

Handling Issue Resolution Yourself

Handling issue resolution yourself

When a subcontractor doesn’t meet your requirements, TradeGuard opens an issue. If you contact your subcontractors yourself (for example, you run a staffing or software platform and the relationship with the sub is yours), everything you need to follow up is on the issue:

  • whatsWrong: what failed, in plain English;
  • whatToAskFor: what to ask the subcontractor or their insurance agent for.

You send the request, upload the new document when it arrives, and the issue closes on its own once the new document passes. You never mark an issue fixed by hand.

1. Listen for the webhooks

Subscribe your endpoint to these events in the dashboard (see Webhooks in the Onboarding Guide):

EventWhen it firesWhat to do
issue.createdA requirement failed, or TradeGuard reached a dead end (for example, it couldn’t reach the insurance agent).Send the subcontractor the whatToAskFor text.
issue.updatedThe same problem was found again (refireCount goes up), or someone acknowledged the issue.Check whether whatsWrong changed. If the sub sent something that still doesn’t pass, it did.
issue.resolvedA person resolved the issue with a note.Stop following up.
issue.closedA later check passed (the usual way an issue ends), a review cleared it, or it was closed without a fix.Stop following up.
compliance.status_changedA subcontractor’s compliance status changed.Update the sub’s status in your system.
compliance.expiring_soonA policy or document expires soon.Ask for the renewal before it lapses.

Every issue.* webhook carries the full issue, including whatsWrong and whatToAskFor, so you don’t have to fetch it again.

2. Read the issue

GET /v1/issues?status=open
GET /v1/issues/:id
{
"data": {
"id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8091",
"subcontractorId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
"category": "non_compliant",
"status": "open",
"title": "General Liability $2M — Non-compliant",
"whatsWrong": "General Liability each-occurrence is $1,000,000; required at least $2,000,000",
"whatToAskFor": "Ask for an updated certificate of insurance (COI) showing General Liability each-occurrence of at least $2,000,000.",
"gap": { "...": "the structured comparison, for your own code" }
}
}

What the two lines mean

  • whatsWrong names each failing check, one sentence each. It is written by fixed templates from the issue’s gap, never by AI, so the same problem always reads the same way and you can show it to the subcontractor as is.
  • whatToAskFor is one request covering everything on the issue. When several things are wrong with one certificate, they are combined into a single ask for one updated COI. A few cases need nothing from the subcontractor yet:
    • TradeGuard is reviewing it. The text starts with “Nothing to ask for yet”. TradeGuard reviews held documents within 1 business day, and the issue updates or closes on its own. See Documents Held for Review.
    • Your requirement is missing a setting. The text starts with “Nothing to ask the subcontractor for”. Finish the requirement in your compliance profile instead.
    • The subcontractor record is missing information. The text tells you what to add to the subcontractor (for example, a license number) so the check can run.

The summary field is still there for existing integrations. New integrations should use whatsWrong and whatToAskFor.

Examples by category

categoryExample whatsWrongExample whatToAskFor
non_compliantGeneral Liability is missing the Waiver of Subrogation endorsementAsk for an updated certificate of insurance (COI) showing the Waiver of Subrogation endorsement on the General Liability policy.
expiredWorkers Compensation expired on 2026-09-30Ask for an updated certificate of insurance (COI) showing a current Workers Compensation policy (the renewal or replacement, with its new policy dates).
carrier_outreachWe couldn’t reach the insurance agent (Jane Agent) to verify policy GL-123: no one answered after several callsAsk the subcontractor for their insurance agent’s current phone number and email, or ask the agent to send an updated certificate of insurance (COI) directly.
failed_verificationThe insurance agent (Jane Agent) said policy GL-123 was canceledAsk for proof of replacement coverage: an updated certificate of insurance (COI) for a current policy.
coverage_flagThe certificate is held for review: the insured name on the certificate doesn’t match the subcontractorNothing to ask for yet: TradeGuard reviews held certificates within 1 business day. If the review doesn’t clear it, ask for a COI issued to the subcontractor’s legal business name (or correct the name on file).
review_rejectedA document was rejected in review: the scan is unreadableAsk the subcontractor for a new copy of the document that fixes the problem above.
report_criterionEntity is administratively dissolvedAsk the subcontractor to restore their good standing with the Secretary of State and send proof.
onboardingRequired documents have not been receivedAsk the subcontractor for their certificate of insurance (COI) and any other documents your compliance profile requires.

3. Upload the new document

When the subcontractor (or their insurance agent) sends the new document, upload it:

POST /v1/subcontractors/:subId/documents
Content-Type: multipart/form-data
FieldValue
fileThe file itself
documentCategorye.g. insurance for a COI

If the file is hosted somewhere, POST /v1/subcontractors/:subId/documents/url takes a sourceUrl instead. The Onboarding Guide covers both.

4. The issue closes on its own

TradeGuard reads the new document and re-checks the subcontractor automatically. If everything on the issue now passes, the issue closes and you get issue.closed. If something still fails, the issue stays open, refireCount goes up, whatsWrong and whatToAskFor describe what is still missing, and you get issue.updated.

To re-check sooner, or after changing the subcontractor’s details, start a check yourself with POST /v1/subcontractors/:subId/compliance/check (see Reading Compliance Results).

Good to know

  • One issue covers one requirement for one subcontractor. A new problem with the same requirement updates the open issue instead of opening a second one.
  • You can acknowledge an issue (PATCH /v1/issues/:id with {"action": "acknowledge"}) to show your team is on it. That doesn’t change what TradeGuard checks.
  • Closing an issue by hand ({"action": "close"}) doesn’t fix anything. If the problem is still there, the next check opens a new issue.