You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the stacktrace of the exception i get when i trying to send message with subject longer than 87 chars...
org.apache.http.client.HttpResponseException: Unsupported Media Type
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69) ~[httpclient-4.5.2.jar:4.5.2]
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65) ~[httpclient-4.5.2.jar:4.5.2]
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51) ~[httpclient-4.5.2.jar:4.5.2]
at com.sendgrid.Client.getResponse(Client.java:138) ~[java-http-client-2.3.2.jar:na]
at com.sendgrid.Client.post(Client.java:217) ~[java-http-client-2.3.2.jar:na]
at com.sendgrid.Client.api(Client.java:369) ~[java-http-client-2.3.2.jar:na]
at com.sendgrid.SendGrid.makeCall(SendGrid.java:92) ~[sendgrid-java-3.0.6.jar:na]
at com.sendgrid.SendGrid.api(SendGrid.java:111) ~[sendgrid-java-3.0.6.jar:na]
Technical details:
sendgrid-java Version: release 3.0.6
Java Version: 8
The text was updated successfully, but these errors were encountered:
I just figured out that this is even more stranger
i cannot send message with subject:
"ффффффффффззззззззззннннннннннффффффффффззззззззззннннннннннффффффффффззззззззззщщщщщххasssss ssssssss dhdhdhdhdhd hdhd dh h ddh "
or
"ффффффффффззззззззззннннннннннффффффффффззззззззззннннннннннффффффффффззззззззззщщщщщххasssss ssssssss dhdhdhdhdhd hdhd dh h ddh."
or
"ффффффффффззззззззззннннннннннффффффффффззззззззззннннннннннффффффффффззззззззззщщщщщххasssss ssssssss dhdhdhdhdhd hdhd dh h ddh!"
but succesfully send:
"ффффффффффззззззззззннннннннннффффффффффззззззззззннннннннннффффффффффззззззззззщщщщщххasssss ssssssss dhdhdhdhdhd hdhd dh h ddh"
without trailing space or dot or exclamation mark
shuron
changed the title
meaningful error messages if some API limits are reached (eg. max subject length 87 chars)
Provide meaningful error messages if some API limits are reached (eg. max subject length 87 chars)
Jul 27, 2016
shuron
changed the title
Provide meaningful error messages if some API limits are reached (eg. max subject length 87 chars)
Provide meaningful error messages if some API limits are reached
Jul 27, 2016
Issue Summary
This is the stacktrace of the exception i get when i trying to send message with subject longer than 87 chars...
Technical details:
The text was updated successfully, but these errors were encountered: