I am using the Java API. Each time I try to create a simple session,I get an exception. Any clues when this is happening?
public OpenTokSession createSession(){
OpenTokSession openTokSession = null;
try{
init();
if (openTokSDK != null){
openTokSession = openTokSDK.create_session();
if (openTokSession != null){
sessionId = openTokSession.getSessionId();
}
}
}catch(Exception e){
e.printStackTrace();
}
log.info(">>>>In createSession(): openTokSession is: "+openTokSession+" and sessionId is: "+sessionId);
return openTokSession;
}
INFO: >>>>In init()
java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.opentok.com/session/create