SharePoint - Troubleshooting

Setting up the SharePoint Widget can be challenging. Following the SharePoint Online article, this technical guide describes ways to display possible error messages from SharePoint that may help troubleshooting. For this we are using the free Postman app. 

  1. Get the Client ID, Client Secret, Tenant ID, SharePoint Domain and optionally the SharePoint Site ready
  2. Open GoBright View and navigate to Management > Widgets & DataSources
  3. Open the SharePoint News DataSource 
  4. Go to the Settings tab of the DataSource
  5. Fill in the parameters
  6. Go to the Editor tab of the DataSource

    hc-sharepoint-troubleshoot.png

  7. Hit the F12 button to open Dev Tools
  8. In Dev Tools, go to the Network tab
  9. Clear the output
  10. Make sure the record button is red (so next requests will be recorded)
  11. Click the Play button to run the DataSource
  12. In Dev Tools, scroll to the bottom of the Name panel

    hc-sharepoint-troubleshoot-step7%2B.png

There are two options:

  1. There is a red 'Load' request
  2. There is no red request

If there is a red 'Load' request:

  1. In Dev tools, scroll to the bottom of the Name panel
  2. Click the red 'Load' request
  3. Open the Payload tab
  4. Open the Headers, an Authorization header should be visible (bearer ...)
  5. Copy the URL value

    mceclip0.png

  6. Open Postman
  7. Create a new request / tab
  8. Make sure this is a GET request and paste the URL from Dev Tools
  9. Still in Postman, go to the Headers tab
    1. In the Key field, type Authorization (without any quotes)
    2. In the Value field: Paste the entire value from Dev Tools, including the word bearer
  10. Click Send
  11. In the output below there should be more information from SharePoint. This information should point you in the right direction to further troubleshoot the issue.

    red-request-postman.png

If there is no red request:

  1. In Dev tools, scroll to the bottom of the Name panel
  2. Select the last Load request
  3. Open the Payload tab
  4. Open the Headers, here an Authorization header should be visible (bearer ...)
  5. Copy the URL value

    no-red-request-devtools.png

  6. Open Postman
  7. Create a new request / tab
  8. Make sure this is a GET request and paste the URL from Dev Tools
  9. Still in Postman, go to the Headers tab
    1. In the Key field, type Authorization (without any quotes)
    2. In the Value field: Paste the entire value from Dev Tools, including the word bearer
  10. Click Send
  11. In the output below there should be more information from SharePoint. This information should point you in the right direction to further troubleshoot the issue.

    red-request-postman.png

 

0 out of 0 found this helpful