Skip to content

A service account's OAuth token works fine for some OData projections but gets ODP_RESOURCE_NOTFOUND (or an empty result set) on others — for example Shipment-related endpoints — even though the exact same calls work when authenticating as a real user instead of the service account. What's the likely cause?

Answer

Check whether the service/integration user has been granted access to the relevant Sites on the 'Sites per User' page — a missing site assignment for that account is a common reason certain site-scoped entities (like Shipments) come back as not-found or empty for a service account specifically, even when its permission set otherwise looks correct and other, non-site-scoped entities work fine.

← Browse Integrations and APIs questions