I am working on Jira create issue using Api.
I followed all steps and was able to create jira tickets multiple times using Api.
Suddenly stopped working again getting unauthorized access 401 issue.
I didn't change anything. Definitely not from my side. And checked earlier postman history calls even they are not working now.
Please let me know why it is not working?
@arunk525 Hi 👋,
I just checked the endpoint on my jira cloud instance from postman and everything worked.
Try to check in postman console (bottom panel) if authorization header is send correctly. You should see request header `Authorization: Basic <credentials in base64>`, then try to decode it for example here. If value of the header is not what you expected (exact format `<your email>:<api_token>`) or the header is not send at all, then the fix wil be just auth configuration for request or collection.
I for example have on request the authorization configuration as "Inherit auth from parent" (which is default) and then my credentials configured on collection "Jira", where the request is categorized.
@arunk525 please check validity of your personal access token. It might have expired or deleted by mistake.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I gave never expire. i didn't delete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.