Forum: General Discussion

About VirtualDJ and DJing in general

If you need extended support, contact our Support Team.
Forum Guidelines  (*) The moderators hold the rights to move or modify posts in order to keep the discussions clear or to facilitate the search.
Tema: Twilio forwarding to ask.the.dj issue
blckjckPRO InfinityMember since 2008
I had gotten my Twilio number to forward to ATDJ in the past. It actually worked twice today. Then, it started failing with a 12200 Schema validation warning.

Cvc-elt.1: Cannot find the declaration of element 'html'.

I tried switching the name of the venue in the ATDJ settings. I tried pointing the URL to http://virtualdj.com/ask/blckjck, http://ask.the.dj/blckjck, as well as variations of the venue name I chose. The web page submittal form for ATDJ worked every time from all of the URL's.

Does anyone have any ideas?

Mensajes Wed 01 Mar 17 @ 4:36 am
When did you got this error?
Today half of the internet in the US was broken for a few hours, including most of our services, and probably twilio too.
Do you still get this error right now?

Mensajes Wed 01 Mar 17 @ 9:02 am
blckjckPRO InfinityMember since 2008
Sorry for the delayed response. Had to dodge a few tornados that hit the area.

I just tested at 11:11 CDT. Twilio received the message. TellyVisuals displayed the message. And, I still got the error when it tried to forward to ATDJ.

EDIT: It looks to be reporting that from line 2.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Ask The DJ - VirtualDJ Software</title>
<link rel="stylesheet" href="/css/v8-core.css" type="text/css"/>
<link rel="stylesheet" href="/css/askthedj.css?v=5" type="text/css" media="screen" />
<script src="/js/jquery-1.11.0.min.js" language="javascript" type="text/javascript"></script>
</head>
<body>

<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6&appId=159067604291026";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div id="askdj">
<div id="askdj_content">
<div id="askdj_topbranding">
<div class="branding_logo"><img src="/image/21086/193606/4music logo version 4 3504x1384.png" border="0" align="middle" width="250" height="auto"></div>
<div class="branding_facebook"><center><div class="fb-like" data-href="https://www.facebook.com/4musicentertainmentdj" data-layout="button" data-action="like" data-show-faces="false" data-share="false"></div></center></div>
</div>
<div class="askdj_title">
<h1><i class="icon-comment"></i> Ask the DJ</h1>
<h3>Send a request to stbald</h3>
</div>
<div class="clearfix"></div>
<br>

<div id="reply"></div>
<script>
setInterval(function() {
$.ajax({
type: "POST",
url: location.href,
data: "poll=1",
cache: false,
success: function(res)
{
$("#reply").html(res);
}
});
}, 5000);
</script>


<form method="POST" id="searchform" class="askdjform" action="/ask/blckjck" >
<fieldset>
<label for="name">Name:</label><br>
<input type="text" id="name" name="name" value="" placeholder="your name (optional)" /><br>

<label for="message">Message:</label><br>
<input type="text" id="message" name="message" placeholder="your request" /><br>

<div id="tips">
<label for="tip">Tip:</label><br>
<center>
<input type="radio" id="tip0" name="tip" value="0" checked onclick="$('#tipzone').hide();">
<label for="tip0" class="radiobutton btn dark-gradient">none</label>
<input type="radio" id="tip2" name="tip" value="2" onclick="$('#tipzone').show();">
<label for="tip2" class="radiobutton btn dark-gradient">$2</label>
<input type="radio" id="tip5" name="tip" value="5" onclick="$('#tipzone').show();">
<label for="tip5" class="radiobutton btn dark-gradient">$5</label>
<input type="radio" id="tip10" name="tip" value="10" onclick="$('#tipzone').show();">
<label for="tip10" class="radiobutton btn dark-gradient">$10</label>
<input type="radio" id="tip20" name="tip" value="20" onclick="$('#tipzone').show();">
<label for="tip20" class="radiobutton btn dark-gradient">$20</label>
</center><br>
<div id="tipzone" style="display:none;">
<img src="https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-150px.png"><br>
<span>(non-refundable. charged only if the DJ chooses to accept this tip)</span>
</div>
</div>

<input type="submit" value="Send message" />
</fieldset>
</form>
<br>



<div id="askdj_about">"Ask The DJ" lets you send live messages directly to the dj</div>
<div id="askdjlogo"></div>
<div id="askdj_no">(<i class="icon-remove-sign"></i> <a href="/ask/?auto=no">not your venue or DJ?</a>)</div>
</div>
</div>
</body>
</html>

Mensajes Wed 01 Mar 17 @ 5:19 pm
blckjckPRO InfinityMember since 2008
The raw message test is:
sourceComponent=14100&line=2&ErrorCode=12200&LogLevel=WARN&Msg=cvc-elt.1%3A+Cannot+find+the+declaration+of+element+%27html%27.&EmailNotification=false&parserMessage=cvc-elt.1%3A+Cannot+find+the+declaration+of+element+%27html%27.&cols=7


Formatted:
sourceComponent 14100
line 2
ErrorCode 12200
LogLevel WARN
Msg cvc-elt.1: Cannot find the declaration of element 'html'.
EmailNotification false
parserMessage cvc-elt.1: Cannot find the declaration of element 'html'.
cols 7

Mensajes Wed 01 Mar 17 @ 5:27 pm
blckjck wrote :
I tried pointing the URL to http://virtualdj.com/ask/blckjck, http://ask.the.dj/blckjck, as well as variations of the venue name I chose.


"pointing the URL", you mean in twilio configuration?
If yes, then the URL that you should point to is "http://ask.the.dj/sms"
(and don't forget to enter your twilio phone number in your askTheDj configuration page)

Mensajes Tue 28 Mar 17 @ 5:33 am
blckjckPRO InfinityMember since 2008
Thank you for your response. It's taken me this long to get back to testing this.
Your answer was the solution to my problem. SMS's are carrying forward to VDJ now.

Mensajes Tue 09 May 17 @ 11:37 pm
My Twilio sms forward from Ask.The.DJ is not working. I've added the proper number in international format in the virtual dj settings, I've added the webhook: http://ask.the.dj/sms and have configured it as a get.
Like previous users in this forum, i even attempted to use others. Nothing seems to work. I have no issues when I run my twilio through another service. I cant seem to figure out why this isnt working. I can send texts to my twilio number no problem, so I know its not that either.
Any help or troubleshooting tips greatly appreciated.

Mensajes Mon 29 Oct 18 @ 7:28 am
I'm still having this issue. I've tried using multiple numbers on both Twilio and Plivo platforms, which I've tested and those numbers are working. Is this feature broken at the moment or what? Please let me know as soon as possible because I'd really like to implement this asap.

Mensajes Fri 09 Nov 18 @ 5:39 am