stderr

ERR_LE_DATA_422: listings dashboard build failed

command

localedge build --route=/dashboard/listings

workspace

fast-break-digital-media

exit

ERR_LE_DATA_422

request

req_01K6WQ9G3H7G9S42B0D3

$ npm run build -- --route=/dashboard/listings --workspace=fast-break-digital-media
> localedge-pro@0.1.0 build
> next build
▲ Next.js 16.2.4 (Turbopack)
✓ Compiled application shell in 1018ms
✓ Loaded static listing seed data from src/lib/data.ts
• Pulling provider records: google_business_profile, yelp, apple_maps, bing_places
WARN  GBP_ADAPTER_PARTIAL_RESPONSE: normalizedHours=null, primaryCategory=null
WARN  YELP_FETCH_TIMEOUT: upstream request exceeded 8000ms budget
ERROR APPLE_MAPS_CITATION_MISSING: listing.citationUrl is required for render
✕ ERR_LE_DATA_422: Listing dashboard payload failed validation
  at buildListingDashboardPayload (src/app/dashboard/listings/page.tsx:41:18)
  at normalizeDirectoryListing (src/lib/directory-sync/normalizeListing.ts:89:11)

Build failed because /dashboard/listings would render incomplete business listing rows.

failed validation checks

ListingDashboardPayload rejected by src/app/dashboard/listings/page.tsx

codepathsourcestatus
LE_REQUIRED_FIELD_MISSINGlistings[0].address.formattedgoogle_business_profilefailed
LE_REQUIRED_FIELD_MISSINGlistings[0].primaryCategorygoogle_business_profilefailed
LE_PROVIDER_TIMEOUTproviders.yelp.reviewsyelpretrying
LE_CITATION_URL_EMPTYproviders.appleMaps.citationUrlapple_mapsfailed

error object

sanitized build payload

{
  "error": {
    "name": "BuildDataError",
    "code": "ERR_LE_DATA_422",
    "route": "/dashboard/listings",
    "message": "Provider data did not satisfy ListingDashboardPayload"
  },
  "listing": {
    "id": "lst-001",
    "businessName": "GreenScape Pro Landscaping LLC",
    "missing": [
      "address.formatted",
      "primaryCategory",
      "platforms.appleMaps.citationUrl"
    ]
  }
}