Postman to Sharepoint REST callout giving Error: read ECONNRESET issue

subrahmanyam Balu 0 Reputation points
2024-04-30T13:03:11.8133333+00:00

Per my test, the Permission Request XML in the article is incomplete. The correct XML should be like following

<AppPermissionRequests AllowAppOnlyPolicy="true">
  <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" />
</AppPermissionRequests>


You could recreate a sharepoint app only with the correct XML. And set the request like following

POST https://xxxx.sharepoint.com/sites/xxxxx/\_api/web/folders
Authorization: "Bearer " + accessToken
Accept: "application/json;odata=verbose"
Content-Type: "application/json;odata=verbose"

User's image

User's image

As mentioned in previous post, i followed the same steps but still issue is not resolved

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,923 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,104 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,501 Reputation points Microsoft Vendor
    2024-05-01T02:34:25.8533333+00:00

    Hi @subrahmanyam Balu,

    Per my research, this should be a Network connection issue. Please refer to following article to fix the issue

    https://support.postman.com/hc/en-us/articles/6346313956887-Fixing-an-ECONNRESET-error


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.