Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Dispatcher returning 204 for model.json

Avatar

Level 1

Hello Team,

 

I am using AEM cloud with SPA, and while hitting sling exporter(model.json) with GET I am getting a response as 204. I am not using any CDN and checked the dispatcher is returning 204. I also checked the CORS and CSRF configurations as well. Any help or lead is appreciated.

 

@davidjgonzalezzzz @Wadobe @bmccurdy1 

1 Reply

Avatar

Employee

Does the request work on AEM Author? or if you hit AEM Publish directly? Are you sure that the Component Exporter is bound to the resource and working?

Avatar

Level 1

Yes, it works when you hit directly in both author and publish. even if I refresh the page it's giving me the result but I am working on SPA. @davidjgonzalezzzz