Skip to content

test(examples): create_media_buy ACCOUNT_NOT_FOUND under proposal_finalize after AdCP 3.0.7 schema bump #1602

@bokelley

Description

@bokelley

Summary

After the AdCP 3.0.7 schema bump (#1595, commit e772ac2) landed adcp#4088 — the storyboard fix that chains proposal_id from brief_with_proposals into refine / finalize / accept — the proposal_finalize storyboard now reaches accept_proposal/create_media_buy end-to-end. Previously the storyboard halted at refine_proposal (the gap tracked in #1549's allowlist as get_products_refine).

The newly-reachable create_media_buy step now fails:

✗ create_media_buy — Create media buy from proposal
    Response matches create-media-buy-response.json schema
    error: "ACCOUNT_NOT_FOUND: The specified account does not exist"

The hello_seller_adapter_proposal_mode adapter projects accounts.resolution: 'explicit'. Earlier phases (brief / refine / finalize) succeed, materializing the account. The create_media_buy request the storyboard sends includes account: { brand, operator, sandbox } (no account_id), and the mock-server's account lookup returns NOT_FOUND.

Reproduction

node --test test/examples/hello-seller-adapter-proposal-mode.test.js

(with EXPECTED_FAILURES = [] — currently held to get_products_refine which is now obsolete; #1596 drops the entry, which unmasks this issue.)

Expected

create_media_buy either:

  • resolves the account by brand.domain + operator (matching how earlier proposal-mode phases materialized it), or
  • the storyboard yaml chains account_id from a prior phase output via $context.account_id.

Either layer is in scope — needs triage to decide whether the SDK / mock-server / storyboard yaml owns the fix.

Workaround

#1596 adds this entry to EXPECTED_FAILURES in the proposal-mode CI gate so CI stays green; drop the allowlist entry once this issue lands.

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions