Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error: Invalid Response from Crowd, expecting json. while authenticating to crowd

fjavadpour April 10, 2018

I'm new in crowd and I have some codes to connect to crowd via a node package: 

var CrowdClient = require('atlassian-crowd-client');

var crowd = new CrowdClient({

baseUrl: 'http://myhost/crowd/console/login.action',

application: { name: 'app', password: 'password' }

module.exports = {
show: function (req, res) {

crowd.session.create('my-username', 'my-password').then(function (session) { console.log('Crowd SSO token is ' + session.token); }); }


but it returns Error: Invalid Response from Crowd, expecting JSON error! what should I do?

1 answer

0 votes
Lauretha Rura
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2018

Hey @fjavadpour,


For development related queries, please do feel free to post your question on our portal below:


Hope this helps :)

Bruno Vincent
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2018

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events