API errors
Not found
The resource in the request URL does not exist.
404application/problem+jsonWhat it means
The path was routable but the resource it names is unknown to your credentials: a mistyped or stale reference, a reference created under different credentials or in the other environment, or a resource that has since been deleted.
404 · application/problem+json
How to handle it
Check the reference and the path. References are opaque strings; store and send them exactly as the API returned them.
Check the environment. A sandbox reference used against production (or the reverse) is simply unknown there.
Treat the answer as settled for that exact request. Retrying the same URL will keep returning 404; there is nothing transient about it.