Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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 

2 Replies

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