Skip to content

Error on get > Cannot be cast to java.util.Map #23

@julesmoretti

Description

@julesmoretti

I am trying to retrieve some user data but unfortunately I am getting error.

I am able to authenticate and get a user token but not make a request. So what am I missing please?

Thank you.

manager
	.makeRequest('google', 'https://www.googleapis.com/oauth2/v1/userinfo')
	.then(resp => {
		console.log('Data ->', resp.data);
	})
	.catch(err => console.log(err));

screen shot 2016-12-12 at 5 35 38 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions