I'm trying to access the contents of a library on SharePoint and I can't because the ajax call is returning some kind of error I can't understand.
I hope someone can help me !
The error is the following :

the code that is executing the call is the following :
Hope somebody can help me, my mind is blowing up with this.
Thanks a lot!
EDIT 1: Below is code I am using
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPSer vices-0.7.2.min.js"></script>
<script>
$(document).ready(function() {
$().SPServices({
webURL: "https://xxx.xxx.com/",
operation: "GetListItems",
async: false,
listName: "XXX Xxxxxx",
completefunc: function (xData, Status) {
//<em>complete function</em>
}
});
});
</script>
