target_uri_not_allowed
Host not accepted for signed requests
HTTP 401
The signed request was sent to a host that doesn't take signed requests. Send it to a public hostname (secondappraisal.com, gap.secondappraisal.com or lenders.secondappraisal.com), and sign that host in @target-uri.
The problem body
Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.
{
"error": "Signed requests are accepted only on the API's public hostnames. Send the request to one, and sign that host in @target-uri.",
"code": "target_uri_not_allowed",
"type": "https://secondappraisal.com/developers/errors/target_uri_not_allowed",
"title": "Host not accepted for signed requests",
"status": 401,
"detail": "Signed requests are accepted only on the API's public hostnames. Send the request to one, and sign that host in @target-uri.",
"instance": "/api/gap/v1/referrals",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/referrals · HTTP 401 · Create a referral
- GET /api/gap/v1/referrals · HTTP 401 · List referrals
- GET /api/gap/v1/referrals/{id} · HTTP 401 · Retrieve a referral
- PATCH /api/gap/v1/referrals/{id} · HTTP 401 · Update or cancel a referral
- POST /api/gap/v1/referrals/bulk · HTTP 401 · Create referrals in bulk
- POST /api/gap/v1/referrals/{id}/simulate · HTTP 401 · Simulate a sandbox referral's next stepAt launchIt opens with the referral sandbox.
- POST /api/gap/v1/referrals/{id}/attest · HTTP 401 · Attest a warm handoffAt launchIt opens with the referral sandbox.
- POST /api/gap/v1/referrals/disclosure-preview · HTTP 401 · Preview a warm handoff's disclosure script
- GET /api/gap/v1/analytics · HTTP 401 · Savings and spend analytics
- GET /api/gap/v1/program-report · HTTP 401 · Program report by quarter
- POST /api/gap/v1/plans/enrollments · HTTP 401 · Enroll one vehicle
- GET /api/gap/v1/plans/enrollments · HTTP 401 · List your roster
- GET /api/gap/v1/plans/enrollments/{id} · HTTP 401 · Retrieve one enrollment
- PATCH /api/gap/v1/plans/enrollments/{id} · HTTP 401 · Cancel, swap the VIN, or edit contact details
- POST /api/gap/v1/plans/enrollments/bulk · HTTP 401 · Enroll up to 500 vehicles
- POST /api/gap/v1/plans/roster-sync · HTTP 401 · Reconcile your full roster
- POST /api/gap/v1/plans/roster-sync/sessions · HTTP 401 · Open a roster-sync sessionAt launchIt opens when roster-sync sessions open for institutions.
- POST /api/gap/v1/plans/roster-sync/sessions/{id}/chunks · HTTP 401 · Stage up to 500 vehicles of a rosterAt launchIt opens when roster-sync sessions open for institutions.
- POST /api/gap/v1/plans/roster-sync/sessions/{id}/commit · HTTP 401 · Apply a roster-sync sessionAt launchIt opens when roster-sync sessions open for institutions.
- POST /api/gap/v1/plans/roster-sync/sessions/{id}/abort · HTTP 401 · Abort a roster-sync sessionAt launchIt opens when roster-sync sessions open for institutions.
- GET /api/gap/v1/plans/roster-sync/sessions/{id} · HTTP 401 · Retrieve a roster-sync sessionAt launchIt opens when roster-sync sessions open for institutions.
- POST /api/gap/v1/plans/loss-notices · HTTP 401 · Tell us a member vehicle was declared a total loss
- GET /api/gap/v1/plans/loss-notices · HTTP 401 · The total losses you reported, and whether each is included
- GET /api/gap/v1/plans/redemptions · HTTP 401 · Member consultations drawn against your roster
- GET /api/gap/v1/plans/statements · HTTP 401 · Your monthly membership statements
- GET /api/gap/v1/plans/statements/{id}/lines · HTTP 401 · The lines of one monthly statement
- GET /api/gap/v1/events · HTTP 401 · List your eventsAt launchIt opens with the partner security platform.
- GET /api/gap/v1/me · HTTP 401 · The key making this call
- POST /api/gap/v1/credentials/{id}/verify · HTTP 401 · Activate a signed credentialAt launchIt opens when signed credentials open.
- POST /api/gap/v1/signature-check · HTTP 401 · Check a signature (test credentials)At launchIt opens when signed credentials open.
- POST /api/gap/v1/review-status/lookup · HTTP 401 · Look up review status by VIN, claim number or referenceAt launchIt opens with review records.
- GET /api/gap/v1/referrals/{id}/review-record · HTTP 401 · Retrieve a referral's review recordAt launchIt opens with review records.
- GET /api/gap/v1/audit · HTTP 401 · List your access logAt launchIt opens with access reviews.