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

Error when send message #1

Open
fbvictorhugo opened this issue Apr 17, 2015 · 0 comments
Open

Error when send message #1

fbvictorhugo opened this issue Apr 17, 2015 · 0 comments

Comments

@fbvictorhugo
Copy link

@blazsolar error when try send message to Hipchat, missing parameters ?

17:46:34.931 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@2b1a901d8 pairs: {POST /v1/rooms/message?format=json&auth_token=MY_TOKEN_HERE HTTP/1.1: null}
:app:testMessage
java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.hipchat.com/v1/rooms/message?format=json&auth_token=MY_TOKEN_HERE
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1838)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
        at com.github.hipchat.api.Room.sendMessage(Room.java:251)
        at com.github.hipchat.api.Room$sendMessage$0.call(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
        at com.github.blazsolar.gradle.hipchat.tasks.SendMessageTask.send(SendMessageTask.groovy:70)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)

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