Servlet Calls 204 error in AEM 6.5 | Community
Skip to main content
Level 3
February 19, 2021

Servlet Calls 204 error in AEM 6.5

  • February 19, 2021
  • 5 replies
  • 13205 views

Hi All,

After upgrading to aem 6.5.6(inplace from 6.4.8.1.to 6.5.6) i am facing with POST and DELETE calls are going to 204 instead of 302 or 200.

 

Please let me know if any came across this issue.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Adobe Employee
February 19, 2021
Can you please add more details to this? Which POST requests exactly? What servlets are you hitting? What's going in the error.log?
Level 3
February 19, 2021

https://castrolfastlane-supporttest-www.castrol.com/bin/downstream/fastlane/cart?productCode=3374721&quantity=5

 

When am trying to hit with the above url am able to see the data.

 

Whem am accessing through application after upgrade am facing this 204 issues am not able see any errors related to this servlet.

 

Adobe Employee
February 22, 2021

@santhoshm687661can you please provide the Request Progress Log for this request? This should help shed quite a bit of light of what's going on - ex. does it stop processing at the CORS filter, or some other Filter, or is it resolving to the incorrect servlet, etc.


There is no known issue with any version of AEM that turns non-204 responses to 204 responses. I understand that this used to work pre-upgrade and doesn't now - but you'll have to help w/ the investigation if you want to pinpoint and resolve the problem - else we're all just taking guesses 🙂

Level 2
April 27, 2021

In edge version 44 and below i am not seeing any issue with POST calls i.e. 204 error code.

 

In chrome am seeing the issue 204 error code and with all the updated versions of the browsers.

 

@davidjgonzalezzzz @bmccurdy1 Please suggest

 


@santhoshm687661 I am facing similar issue with AEM 6.5.6 publish. All post calls are responding with 204 error. Even unable to login since login j_security post request as well giving 204 response. Any solution?

Adobe Employee
February 19, 2021

Deleted response. See response in comment below.

Uppari_Ramesh
Level 5
December 4, 2023

Hi @santhoshm687661 ,

 

Basically 204 response from your servlet indicates that you are missing your api endpoint in CORS policy Allowed paths section. Just add your servlet endpoint in Allowed paths section.

 

Thanks,

Ramesh