Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a 415 error (Unsupported Media Type) #81

Open
keith9820 opened this issue Sep 9, 2014 · 1 comment
Open

Getting a 415 error (Unsupported Media Type) #81

keith9820 opened this issue Sep 9, 2014 · 1 comment

Comments

@keith9820
Copy link

When calling transitionIssue, I get an error "415: Error while updating". Here is the code I'm using:

var jira = new JiraApi('https', config.host, config.port, config.username, config.password, '2');
jira.transitionIssue(issueNum, 'RESOLVED', function(error, statusCode){
    console.log('error: ' + error);
    console.log('status: ' + statusCode);
});
@keith9820
Copy link
Author

Is it possible the request is being sent with content-type "application/octet-stream"? I see an error in the log file that that content type is not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant