VegaGraph troubleshooting

Diagnose validation, identity, context, traversal, search and authorization problems.

SymptomInspect firstLikely cause
Entity create conflictsFQN and aliases in the workspaceExisting canonical identity or duplicate source mapping
Aspect write rejectedAspect type JSON SchemaMissing required field, wrong type, unsupported property
Required aspect errorEntity-type aspect bindingsRequired binding absent or invalid default data
Edge rejectedRelationship type and endpointsType/category mismatch, field endpoint disallowed, cardinality or cycle
Context edge rejectedEndpoint and edge contextsMixed environment-specific endpoints or invalid inheritance
Traversal seems incompleteDirection, type filter, context and depthWrong edge direction, permission filtering, bounded result
Two apparent copies of an assetFQN, external ID, source and aliasesConnector created instead of reconciling identity
Search misses a known entitySearch document and searchable fieldsProjection absent/stale, field intentionally excluded, authorization
Delete returns conflictDependencies and built-in statusActive edges/bindings, required parent, protected system type
PATCH did not clear a fieldPatch contractOmitted value preserves data; use allowed clear_fields entry

Identity reconciliation

Before creating an entity, resolve by stable source identity, FQN and known aliases. When a source object is renamed, update the existing entity and add its former name as an alias if identity is certain. Never merge two entities merely because their display names match.

Schema validation

Read the current aspect type and validate locally against its JSON Schema. The graph validates again at write time. If a connector cannot map a new source value, preserve the source observation outside the governed aspect until the type contract is intentionally evolved.

Relationship failures

Check the relationship contract in this order:

  1. source and target direction;
  2. allowed entity types/categories;
  3. field endpoint allowance and parent ownership;
  4. selected context;
  5. existing edges that consume cardinality;
  6. paths that would create a prohibited cycle.

Use type-impact preview before weakening a contract to accept one edge.

Context surprises

Current aspect reads can include canonical and inherited facts. Inspect the returned origin and context ID. If production displays a staging fact, correct the source context/FQN rather than hiding origin in the client.

Search diagnosis

Fetch /entities/{id}/search-document. If absent or stale, rebuild it from approved current aspects. If correct, verify query filters, context and search permission. Search is eventually refreshed derived data; the entity/aspect API remains the authority.

Support bundle

Include organization/workspace, entity/type/context IDs, FQNs, relationship type and direction, structured error code, request ID, relevant resource versions and a redacted request body. Do not include secret values, unrestricted aspect payloads or sensitive search content.

Vegalake, VegaDB and VegaFlow are trademarks or registered trademarks of Vegalake Inc.

On this page