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

The nothing went wrong exception #131

Open
Tsuser1 opened this issue Sep 14, 2016 · 0 comments
Open

The nothing went wrong exception #131

Tsuser1 opened this issue Sep 14, 2016 · 0 comments

Comments

@Tsuser1
Copy link

Tsuser1 commented Sep 14, 2016

So I got the most strange of errors while programming my bot to accept contact requests...

Exception in thread "main" com.samczsun.skype4j.exceptions.ConnectionException: 
        Cause: While authorizing contact
        Response: 201 Created
        Begin Message 

{"status":{"code":20100,"text":"Contact Request Accepted"}}

        End message

    at com.samczsun.skype4j.internal.ExceptionHandler.generateException(ExceptionHandler.java:101)
    at com.samczsun.skype4j.internal.Endpoints$EndpointConnection.connect(Endpoints.java:389)
    at com.samczsun.skype4j.internal.Endpoints$EndpointConnection.put(Endpoints.java:307)
    at com.samczsun.skype4j.internal.participants.info.ContactImpl.authorize(ContactImpl.java:196)
    at com.tsuserMainframe.main.Main.main(Main.java:27)

And I tracked it back to here...

public void authorize() throws ConnectionException {
        Endpoints.AUTHORIZE_CONTACT.open(skype, this.username).expect(200, "While authorizing contact").put();
        updateContactInfo();
    }

I think the expected code is incorrect.

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