We are fetching Sharepoint list through REST API for a client (tenant domain is medicaldesigninnovations), for that
- We have registered an app here https://medicaldesigninnovations.sharepoint.com/_layouts/15/appregnew.aspx
- Getting access/bearer token here https://accounts.accesscontrol.windows.net/48d0888c-0094-4141-ba64-11904884303b/OAuth/2
- Passing the bearer token to fetch a list called 'Project List' here https://medicaldesigninnovations.sharepoint.com/sites/projects/_api/web/lists/getbytitle('Project List')/items but getting the below error, response status is 403 Forbidden
{
"error": {
"code": "-2147024891, System.UnauthorizedAccessException",
"message": {
"lang": "en-US",
"value": "Attempted to perform an unauthorized operation."
}
}
}