Getting error while calling MS Fabric API using POSTMAN. I have no body in the POST call. Where is it restricted? Why is it forbidden?
***/git/updateFromGit
Error:
403 Forbidden
{
"requestId": "5d6babd3-5ccb-4970-9392-***",
"errorCode": "RequestFailed",
"message": "Unable to process the request"
}
Getting error while calling MS Fabric API using POSTMAN. I have no body in the POST call. Where is it restricted? Why is it forbidden?
https://api.fabric.microsoft/v1/workspaces/31015eb5-a60f-4dcd-9108-***/git/updateFromGit
Error:
403 Forbidden
{
"requestId": "5d6babd3-5ccb-4970-9392-***",
"errorCode": "RequestFailed",
"message": "Unable to process the request"
}
Share
Improve this question
edited Feb 17 at 19:15
VLAZ
29.1k9 gold badges62 silver badges84 bronze badges
asked Feb 17 at 9:28
SalmanSalman
1,8696 gold badges15 silver badges28 bronze badges
1
- 1 You need to pass request body to call this API – Rukmini Commented Feb 17 at 11:42
1 Answer
Reset to default 0This API needs a body (see doc page).
Here is a sample request with its body (also from the doc):
POST https://api.fabric.microsoft/v1/workspaces/1565e6a3-c020-4c0c-dda7-92bafe99eec5/git/updateFromGit
{
"workspaceHead": "eaa737b48cda41b37ffefac772ea48f6fed3eac4",
"remoteCommitHash": "7d03b2918bf6aa62f96d0a4307293f3853201705",
"conflictResolution": {
"conflictResolutionType": "Workspace",
"conflictResolutionPolicy": "PreferWorkspace"
},
"options": {
"allowOverrideItems": true
}
}