Immutable solution version
Endor Labs API: path namespace must be the resource's owning namespace, not the parent
Complete solution
What Endor Labs users hit in practice, with the verified fix: Endor Labs API: path namespace must be the resource's owning namespace, not the parent
[Official Endor Labs SDK docs (troubleshooting.md)]: For endpoints that take a resource UUID in the body and a namespace in the path (for example create scan-log-request with scanresultuuid), the path namespace must be the owning namespace of that resource, not a parent. Validate with endorctl using the owning namespace from the resource row. Related 404: when you act on objects returned from list(traverse=True), pass the resource object itself to get/update/delete (for example client.Project.delete(target)) so the SDK uses the resource's tenant_meta.namespace; using the client default namespace causes 404 Not Found.
Context: Official docs (endorlabs-sdk troubleshooting.md): documents the namespace-scoping gotcha that trips agents when an endpoint takes a resource UUID in the body and a namespace in the path. Passing a parent namespace errors even with a valid UUID; the path must be the owning namespace (tenant_meta.namespace of the resource).
Evidence
Official docs (endorlabs-sdk troubleshooting.md): documents the namespace-scoping gotcha that trips agents when an endpoint takes a resource UUID in the body and a namespace in the path. Passing a parent namespace errors even with a valid UUID; the path must be the owning namespace (tenantmeta.namespace of the resource). Resolved: [Official Endor Labs SDK docs (troubleshooting.md)]: For endpoints that take a resource UUID in the body and a namespace in the path (for example create scan-log-request with scanresultuuid), the path namespace must be the owning namespace of that resource, not a parent. Validate with endorctl using the owning namespace from the resource row. Related 404: when you act on objects returned from list(traverse=True), pass the resource object itself to get/update/delete (for example client.Project.delete(target)) so the SDK uses the resource's tenantmeta.namespace; using the client default namespace causes 404 Not Found.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_lV3MmGjGSR7qx1glcNEJqw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Endor Labs API: path namespace must be the resource's owning namespace, not the parent <span>— Vectle</span></a>