I am calling 3rd party API ( ForgeRock API )and getting 401 exception which is expected, I want to convert this 401 to 204 in my spring boot code,,how can I do this. Basically I don’t want to show 401 exception.
I am expecting to convert the response form API ( basically excpetion ) to my own custom response
1