How to publish .json file in da.live? | Community
Skip to main content
Level 2
February 20, 2026
Solved

How to publish .json file in da.live?

  • February 20, 2026
  • 1 reply
  • 0 views

Hi All,

As the title says, I need help in publishing .json file from da.live.

I have uploaded my json file as media in da.live & when I’m trying to publish, its not getting published.

Also tried Bulk Operations tool (https://tools.aem.live/tools/bulk/index.html) its giving below response:

1/1 URL(s) bulk published on git-owner/git-repo

/sample.json (404)

Bulk live completed in 0.844s

/sample.json (404)

Bulk live completed in 0.844s

1/1 URL(s) bulk previewed on git-owner/git-repo

/sample.json (401)

Bulk preview completed in 0.658s

Any advice on this would be helpful.

Thanks!!

Best answer by AmitVishwakarma

Hi ​@edses You didn’t do anything wrong – what you’re trying to do is simply not supported in the DA -> EDS pipeline right now.

You currently cannot upload a .json file via da.live and publish it directly as /xyz.json. Use Git (static JSON) or Sheets (data -> JSON) instead, and then admin.hlx.page will preview/publish successfully.

Thanks,
Amit

1 reply

AmitVishwakarma
Community Advisor
Community Advisor
February 20, 2026

Hi ​@edses ,
401 on preview in Bulk Ops means you’re not authenticated (Sidekick login/cookie missing), so Bulk Ops can’t preview the resource. Bulk publishing then reports 404 because it effectively can’t find a previewed resource to publish.
You’re also trying to publish /sample.json, but DA “media” uploads are stored as immutable media_… assets (and may be delivered via a 301 redirect from the friendly filename). So /sample.json is often simply the wrong path unless the file truly exists at site root.

  • Login to Sidekick first (same browser): open any site page, open Sidekick, Sign in. Bulk Ops relies on that auth. 
  • In da.live, copy the actual preview URL of the JSON media (it will typically be something like .../media_<id>.json or whatever full path DA shows—not just /sample.json). Media often redirects to media_…
  • In Bulk Ops, run Bulk Preview first, then Bulk Publish (Bulk app is intentionally 2-step).

https://www.aem.live/docs/publishing-from-authoring

edsesAuthor
Level 2
February 20, 2026

Hi ​@AmitVishwakarma, thanks for the reply.

I followed the steps you mentioned still I’m getting 401.

Generally what steps should be followed to upload & publish json files?

I’m able publish all other resources via https://admin.hlx.page/ except json files I have uploaded even though its there in root or any other folder.
 

 

AmitVishwakarma
Community Advisor
AmitVishwakarmaCommunity AdvisorAccepted solution
Community Advisor
February 20, 2026

Hi ​@edses You didn’t do anything wrong – what you’re trying to do is simply not supported in the DA -> EDS pipeline right now.

You currently cannot upload a .json file via da.live and publish it directly as /xyz.json. Use Git (static JSON) or Sheets (data -> JSON) instead, and then admin.hlx.page will preview/publish successfully.

Thanks,
Amit