Skip to content

Instantly share code, notes, and snippets.


Marc de Verdelhan mdeverdelhan

View GitHub Profile
View Twitter-Exception_Bad-Authentication-data
400:The request was invalid. An accompanying error message will explain why. This is the status code will be returned during version 1.0 rate limiting( In API v1.1, a request without authentication is considered invalid and you will get this response.
message - Bad Authentication data
code - 215
Relevant discussions can be found on the Internet at: or
TwitterException{exceptionCode=[b2b52c28-10981ab8], statusCode=400, message=Bad Authentication data, code=215, retryAfter=-1, rateLimitStatus=null, version=3.0.3}
at twitter4j.internal.http.HttpClientImpl.request(
at twitter4j.internal.http.HttpClientWrapper.request(
mdeverdelhan /
Created Nov 15, 2012
Setting global UI for Swing buttons
JOptionPane.showConfirmDialog(this, confirmMessage, confirmTitle, JOptionPane.YES_NO_OPTION);
mdeverdelhan /
Last active Jun 21, 2019
Exception interception (AOP) and asynchronous mail sending with Spring
package com.mygroup.myapp.common.task;
import org.springframework.mail.MailException;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.scheduling.annotation.Async;
* Asynchronous mail sender