Open baltechies opened 5 years ago
Do you have a snippet of your code I can have a look at at all? (re: just how the library is being booted/setup) - looks like auth is failing.
I had the same issue, correct credentials.
I solved it by linking directly to the WSDL file and not downloading it and link to a local folder.
$sp = new SharePointAPI('youremail@mail.com', 'supersecurepassword', 'https://yoursite.sharepoint.com/sites/SomeSite/_vti_bin/Lists.asmx?WSDL', 'SPONLINE');
Hi. I have same error.
$sp = new SharePointAPI(
'mail@mail.com',
'password',
'https://site.sharepoint.com/sites/smoSite/_vti_bin/Lists.asmx?WSDL'
);
dd($sp->getLists());
if I put fourth parameter "NTLM", I have other error: Access Denied
.
What do I need to do to work correctly
I entered in the URL of the WSDL and it gives the same error.
here is a snippet of the code.
How to resolve this error?