SAP / SAP/sap-customer-data-cloud-toolkit

"Permission Denied" error when opening Copy Config Extended

Open
#181 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Recently when opening the Copy Config Extended, on all our Partner IDs this error appeared:

Permission denied

{
  "callId": "xxx",
  "context": {
    "id": "emailTemplates",
    "targetApiKey": "the_first_parent_apikey_of_the_partner"
  },
  "errorCode": 403007,
  "errorDetails": "Invalid namespace 'accounts.policies.emailTemplates' or method 'getConfig' or you do not have the required permissions to call it. ",
  "errorMessage": "Permission denied",
  "apiVersion": 2,
  "statusCode": 403,
  "statusReason": "Forbidden",
  "time": "2025-08-07T12:48:38.235Z"
}

We are all using admin accounts, and appears on all out partners, with different settings etc., so it's not related to environment settings.

Thanks

Marco

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error when opening Copy Config Extended, then trace the request for accounts.policies.emailTemplates and getConfig using the reported 403 response. Check the behavior across the partner IDs and admin accounts described in the issue. Done means the feature opens without the permission-denied error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.