# Receiving error occurred while attempting to decode the Jwt .. Not Found 404

**URL:** <https://community.auth0.com/t/receiving-error-occurred-while-attempting-to-decode-the-jwt-not-found-404/192161>\
**Category:** Get Help\
**Tags:** free-trial, login-experience\
**Created:** [September 19, 2025, 5:04pm UTC](https://community.auth0.com/t/receiving-error-occurred-while-attempting-to-decode-the-jwt-not-found-404/192161 "2025-09-19T17:04:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doaa.farouk07](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/doaa.farouk07/32/61886_2.png) [@doaa.farouk07](https://community.auth0.com/u/doaa.farouk07)\
**Post date:** [September 19, 2025, 5:04pm UTC](https://community.auth0.com/t/receiving-error-occurred-while-attempting-to-decode-the-jwt-not-found-404/192161/1 "2025-09-19T17:04:27Z")

</div>

I got this error while running my Spring Boot application, although it has been working before with the same config.

org.springframework.security.authentication.AuthenticationServiceException: An error occurred while attempting to decode the Jwt: Couldn’t retrieve remote JWK set: org.springframework.web.client.HttpClientErrorException$NotFound: 404 Not Found: “Not found.”  
at org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationProvider.getJwt(JwtAuthenticationProvider.java:106) ~[spring-security-oauth2-resource-server-6.2.4.jar:6.2.4]

```auto
okta:
  oauth2:
    issuer: https://<tenant>.auth0.com/
    audience: https://<api>/

```

i didn’t upgrade my spring Boot or change anything

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [September 30, 2025, 2:21pm UTC](https://community.auth0.com/t/receiving-error-occurred-while-attempting-to-decode-the-jwt-not-found-404/192161/3 "2025-09-30T14:21:28Z")

</div>

Hi @doaa.farouk07

Welcome to the Auth0 Community!

Thank you for posting your question. Based on my research regarding your question, the 404 Not Found error indicates that the issue with your app is that it is unable to reach the JWKS endpoint, which is based on your issuer. Please verify that the issuer value matches exactly the one in the token’s `iss` claim.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 14, 2025, 2:22pm UTC](https://community.auth0.com/t/receiving-error-occurred-while-attempting-to-decode-the-jwt-not-found-404/192161/4 "2025-10-14T14:22:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
