Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [requestexecutor]

The Request Executor library enables cross-domain client-side calls.

Filter by
Sorted by
Tagged with
2 votes
0 answers
358 views

SP.RequestExecutor.js target origin does not match window origin

Hi I'm trying to load the SP request executor as per the Microsoft samples (inside a provided hosted app) SP2013 I have this error: Failed to execute 'postMessage' on 'DOMWindow': The target origin ...
Koenig Lear's user avatar
4 votes
0 answers
1k views

Microsoft Graph: Get preview image

I created a SharePoint-Add-In (provider hosted) which serves as a proxy for retrieving information from Microsoft Graph. From the client I issue AJAX requests to my MVC-based web service which in turn ...
bash.d's user avatar
  • 229
1 vote
0 answers
1k views

SharePoint Online: Microsoft.SharePoint.Client.ServerException: Ending value cannot be less than starting value

I am using a Windows Forms Application to create a massive amount of items in various lists inside a SharePoint Online site based on information that the application gets from a JSON file. The ...
Chris's user avatar
  • 11
2 votes
2 answers
1k views

How to update multiple items in sharepoint list online using javascript on SP 2013 Addon

I have used the below mentioned approach to update multiple items in SharePoint 2010 list, How to update list items using JavaScript Object Model in SP 2013 How to update multiple items in ...
Rajagopal 웃's user avatar
2 votes
1 answer
156 views

How to remove sp.RequestExecutors.js console.logs?

I have sea of logs from this file in console. Little bit annoying to find my own console.logs in it, and also console lags a bit. How can I disable it? Maybe in SharePoint online settings?
Sn0wSky's user avatar
  • 23
0 votes
1 answer
953 views

Unauthorized Error using web api with REST in different site collection the add-in isn't deployed at

I'm trying to write a sharepoint 2013 add-in that reads certain list info from a bunch of site collections i get first and write into an array, however whenever i try to access any sitecollection but ...
Thun's user avatar
  • 15
1 vote
1 answer
941 views

Sharepoint REST api: wasn't $.Ajax supposed to make asynchronous calls?

I don't understand why my code is running synchronous. At least it is what the attached print-screen shows. Are my assumptions correct? <script src="../SiteAssets/js/lib/jquery-2.2.0.min.js&...
egidiocs's user avatar
  • 476
4 votes
1 answer
3k views

Update list item using SHarePoint REST API not working

I am facing issues with updating a simple list item using SharePoint REST API. I have gone through all the blogs to get a solution but the result is same. When ever i execute the update list item ...
user545359's user avatar
1 vote
2 answers
8k views

Cross Domain GET Request with SP.RequestExecutor

I'm trying to load data of a SharePoint App into my new SharePoint App and got some problems here. At first I tried to use to solve it with Ajax, but it doesn't worked and I've read that I could use ...
Sebastian's user avatar
2 votes
1 answer
2k views

http:<server>/_api/web/webs 401 unauthorized

i'm using a jquery script embedded in a SharePoint page. i am able to load the results of a /_api/web/webs call to REST as myself (site collection admin). However, anyone that visits the page that is ...
cheffx1265's user avatar
1 vote
1 answer
251 views

Why is CORS not used for cross-domain requests by default? [closed]

In order to be able to do cross-domain AJAX requests, SharePoint 2013 introduced SP.RequestExecutor.js library which uses a hidden iframe to do the request. This looks hacky (although I'm not sure if ...
Arseni Mourzenko's user avatar
2 votes
2 answers
213 views

This app has reached its outbound request limit

I am getting "This app has reached its outbound request limit" error when do more than two simultaneous calls using SP.WebProxy in my SP-hosted app. Do you know whether it is possible to change this ...
MikhailSP's user avatar
  • 1,449