OAuth using REST APIs gives error in logs - Unable to verify JWT token signature

Hi,
I have configured Jira Datacenter in OAuth/OIDC and it works fine.
Now I am trying to generate a access token manually and use it for calling REST APIs.

I am getting the following error in atlassian-jira.log file -
2024-08-12 23:27:37,007+0530 https-openssl-nio-8443-exec-17 WARN anonymous 1407x13892x1 - 192.168.163.9 /rest/api/2/myself [c.a.o.p.core.token.JwtService] Unable to verify JWT token signature.

2024-08-12 23:27:37,008+0530 https-openssl-nio-8443-exec-17 DEBUG anonymous 1407x13892x1 - 192.168.163.9 /rest/api/2/myself [c.a.o.p.c.t.access.dao.DefaultAccessTokenDao] Failed to find access token associated with token id [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855].

2024-08-12 23:27:37,008+0530 https-openssl-nio-8443-exec-17 DEBUG anonymous 1407x13892x1 - 192.168.163.9 /rest/api/2/myself [c.a.o.p.core.web.AccessTokenFilter] Failed to authenticate request via OAuth2 access token [2030802965] - [{}]

com.atlassian.oauth2.provider.api.token.exception.access.UnrecognisedTokenException: Access token id not recognized

when I paste the token on jwt.io along with the secret (as it is HS256) is shows ‘Signature Verified’.

What will I have to do to resolve this? Please assist as I am stuck at this stage and not able to find any solution.

Thanks in Advance.