im using c# / asp.net
we have 2 account
account1: worl83@hunet.co.kr
apitoken: hUEMC34183bo4QZe4nzP5FFF
account2: jhko1015@hunet.co.kr
apitoken: czdm5qYEwujEhUxtfQmP0153
when called with CURL, both succeed.
(so.... I guess it's not an account issue.)
(account1 succeeds)
curl -D- -H "Authorization: Basic d29ybDgzQGh1bmV0LmNvLmtyOmhVRU1DMzQxODNibzRRWmU0bnpQNUZGRg==" -X GET -H "Content-Type:application/json" https://ihunet.atlassian.net/rest/api/2/issue/BB-35153
(account2 succeeds)
curl -D- -H "Authorization: Basic amhrbzEwMTVAaHVuZXQuY28ua3I6Y3pkbTVxWUV3dWpFaFV4dGZRbVAwMTUz" -X GET -H "Content-Type:application/json" https://ihunet.atlassian.net/rest/api/2/issue/BB-35153
BUT!!!!!!!!!!!!!
when called with C#, account2 gets 401 error.
account1 succeeds in the same code
The json data is the same. Only the calling account is different.
please help me...
why is this?
do you know why?
Hi,
It might be wise to remove the valid token from your post and generate some new one from your Jira env.
Those open the gate to your system to anyone ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.