I believe this error is coming from the library Jira uses to parse JWT tokens. You could validate this by testing whether you can call the API successfully using basic auth with an API token generated from your profile screens. If that works, you’d then have to review your JWT creation logic. You can use a took like this one to view your generated tokens.