---
title: Why do the URLs to the digital asset file in the REST API give a 404 error?
description: The ExpiryUrl always directs to the file on the Live environment. When the digital asset is not available on the Live environment, this results in a 404 error.
---

[Skip to content](https://support.syncforce.com/knowledge/why-do-the-urls-to-the-digital-asset-file-in-the-rest-api-give-a-404-error#main-content)

[![Syncforce\_logo\_tagline](https://support.syncforce.com/hs-fs/hubfs/Syncforce_logo_tagline.webp?width=480&height=72&name=Syncforce_logo_tagline.webp)](https://www.syncforce.com/)

Open main navigation

Close main navigation

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Home](https://support.syncforce.com/knowledge?hsLang=en)
2. [Product Data Syndication](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en)
3. [REST API](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#rest-api)

# Why do the URLs to the digital asset file in the REST API give a 404 error?

## The ExpiryUrl always directs to the file on the Live environment. When the digital asset is not available on the Live environment, this results in a 404 error.

The ExpiryUrl always directs to the file on the Live environment, even when the Digital asset REST API endpoint is used on the Cloud environment. This is because the file itself is not synchronized to the Cloud environment and is only available on the Live environment.

However, when the digital asset is ONLY created on the Cloud environment and does not exist on the Live environment, the ExpiryURL is created with the identifier of the file from the Cloud database and referring to the file on the Live server. However, this digital asset is not available on the live server and thus will return a 404.

- The solution here is to create the digital assets on the Live environment as well. After that, do a restore from Live to Cloud to have the same digital assets.

Or in the situation that on the Cloud environment, a digital asset has been created and in the meanwhile another digital asset has been created on the Live environment with the same identifier, the ExpiryUrl will give the file from the Live environment. This can be a different file than expected (because on Cloud it’s a different digital asset).

- The solution here is to restore the database from the Live environment to the Cloud environment. Any newly created digital assets on Cloud will be gone. To test the functionality for specific digital assets created on the Cloud environment, the digital assets can be uploaded on Cloud again. But pay attention to that the URLs from the digital asset endpoint cannot be used since these digital asset files are not available on the Live environment.

Check out the [SyncForce Digital Asset XML structure](https://docs.google.com/document/d/e/2PACX-1vTUjWap-XAOpze_DxT6Z_pwLE-trwzglhDx-QQ1bAPNG-SNZ67Q4LpZvqBH9bstOS-GYEJ9m8sDyOsy/pub) documentation. Also referred to from the REST API documentation on [https://synf.co/restapi](https://synf.co/restapi).

- [Industry & Regulatory Knowledge](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#main-content)

    - [Product Portfolio](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#product-portfolio)
    - [Packaging & PPWR](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#packaging-ppwr)
    - [EU Digital Product Passport - DPP](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#eu-digital-product-passport-dpp)
    - [GS1 & GDSN](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#gs1-gdsn)
    - [Food & Label Information](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#food-label-information)
    - [EPR & Sustainability Data](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#epr-sustainability-data)
    - [Product Identification & GTIN](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#product-identification-gtin)
    - [PIM & Data Architecture](https://support.syncforce.com/knowledge/industry-regulatory-knowledge?hsLang=en#pim-data-architecture)
- [Product Data Management](https://support.syncforce.com/knowledge/product-data-management?hsLang=en#main-content)

    - [Packaging Data Management](https://support.syncforce.com/knowledge/product-data-management?hsLang=en#packaging-data-management)
    - [Product data imports](https://support.syncforce.com/knowledge/product-data-management?hsLang=en#product-data-imports)
    - [PDM setup and config](https://support.syncforce.com/knowledge/product-data-management?hsLang=en#pdm-setup-and-config)
- [Digital Asset Management](https://support.syncforce.com/knowledge/digital-asset-management?hsLang=en#main-content)

    - [FileConvert](https://support.syncforce.com/knowledge/digital-asset-management?hsLang=en#fileconvert)
- [Project Portfolio Management](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#main-content)

    - [Team & Planning](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#team-planning)
    - [Proofing & Approval](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#proofing-approval)
    - [Budget & Spend Management](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#budget-spend-management)
    - [Resource Management](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#resource-management)
    - [To Do (task & actions)](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#to-do-task-actions)
    - [Project definition](https://support.syncforce.com/knowledge/project-portfolio-management?hsLang=en#project-definition)
- [Product Catalog](https://support.syncforce.com/knowledge/product-catalog?hsLang=en)
- [Media Library](https://support.syncforce.com/knowledge/media-library?hsLang=en)
- [Product Data Syndication](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#main-content)

    - [GS1-GDSN](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#gs1-gdsn)
    - [DataPorts](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#dataports)
    - [PS in Foodservice](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#ps-in-foodservice)
    - [REST API](https://support.syncforce.com/knowledge/product-data-syndication?hsLang=en#rest-api)
- [Document Automation](https://support.syncforce.com/knowledge/document-automation?hsLang=en)
- [Exports & reports](https://support.syncforce.com/knowledge/exports-reports?hsLang=en)
- [Business Network Management](https://support.syncforce.com/knowledge/business-network-management?hsLang=en#main-content)

    - [Single Sign-On](https://support.syncforce.com/knowledge/business-network-management?hsLang=en#single-sign-on)
- [Services & Support](https://support.syncforce.com/knowledge/services-support?hsLang=en)
- [Partner Support](https://support.syncforce.com/knowledge/partner-support?hsLang=en)
- [General setup](https://support.syncforce.com/knowledge/general-setup?hsLang=en)
- [Campaign management](https://support.syncforce.com/knowledge/campaign-management?hsLang=en)
- [General](https://support.syncforce.com/knowledge/general?hsLang=en)

[![Chill listening crop-3](https://support.syncforce.com/hs-fs/hubfs/SyncForce_plus_1024-2.png?width=105&height=24&name=SyncForce_plus_1024-2.png "Chill listening crop-3")](https://www.syncforce.com/)

Copyright © 2026, SyncForce