Nordcom AB's Logo
NewsDocumentation
Admin
728d899
Terms of ServicePrivacy Policy
© 2023-2026 Nordcom AB
Back
404:

Not found

NOT_FOUND

Error Class Name

NotFoundError.

Possible Causes

  • Requesting an invalid/non-existent resource.
  • Requesting a previously removed resource.
  • Trying to access a non-existent path or route.

Documentation

This error is thrown when a route or a resource cannot be found, for example if you're requesting a non-existent product handle or asset.

Code

const product = await product(handle);
if (product) return product;

throw new NotFoundError();

Related Articles

  • TODO
  • Another TODO