Can't create Api key for API App Store Connect

1 Steps to reproduce the issue

Login in Account/ Go to https://appstoreconnect.apple.com/. Open users and permission. Open integration tab. Select API App Store Connect. Click Team Keys. Click Generate API Key. Input name "MyTracker", role: Admin. Catch 401 status from Api and reload page.

2 Approximate date and time the error occurred (including the time zone)

Errors were on: Tue, 08 Apr 2025 06:46:20 GMT Tue, 08 Apr 2025 06:16 GMT

3 Curl example

curl 'https://appstoreconnect.apple.com/iris/v1/apiKeys' \
  -H 'accept: application/vnd.api+json, application/json, text/csv' \
  -H 'accept-language: ru,en;q=0.9' \
  -H 'content-type: application/json' \
  -H 'cookie: s_fid=6541AF9921104763-34AED62C094B846F; s_vi=[CS]v1|33F13BA8D23DEE97-4000106C0143A1DE[CE]; geo=FR; s_cc=true; s_sq=%5B%5BB%5D%5D; dslang=RU-RU; site=RUS; myacinfo=DAWTKNV323952cf8084a204fb20ab2508441a07d02d32f8cc74eda7d840cbff380867b48ae61921e5fb806faa4770c7d1e65515527094328232e18ce49ddca803e8229f778c921e2d83762d354b4902f941bae81b0e1f738b89100ca0e82a1901de7585abdb32c8c980be6b7a47d4dde8f8bda6c5d03bf99ed849a690050715cab6829c2bc116b2588dca6feae7d042f27dea63722388d6272430c3b987f297740a531df86c75086e6e0960340c3d5fb9a0b90da907a996f1d0710e1f4215ab62bea759468d26ecd1177667fa7d05e14d84b1f4e66048c66777c1d2c3fb7a9f7ab07bdad8452f1e56f1d5b4e365da415001aa60cdeb08c68fe5e7125284bae547cc1f27315459f61826d11232844810780d327fceb5db6768631ac678471584b6b59f69c3128400dd1a3db929b3e5e390e431623d0c77d31d7d44b49ee8d08dec56a83868f36629134b4b4806591eda69dcb6939cb0a54370f05d11769c9283a3b0566a23d52f82bfc11544d863a8a07ed0a4f2d59db20c9bfe40217f98deb42ca13e9c85aba0a16b9b8a3141a783cdf266729db12ce4fcd1f17dc1d7b16b836dab9081704b3ac0dc5ceac7851e9d4ff2c68bb2cc83e55b90cd0133ffc8565f2293e3630d8830d2871b4ab84b0043c8dda6edffc38375cb458ee9634e0a5fe3078f87d5875e0897b9a3b5804cc8d4760ffd20ffe87519172ea1a4da0a98de891602c9fcf97bf815ec291d84f8a695ce55c9e3f01ebc2585a47V3; dc=mr; itcdq=1; itctx=eyJjcCI6IjY5YTZkZThmLTUyNzAtNDdlMy1lMDUzLTViOGM3YzExYTRkMSIsImRzIjo4MjYxNTE4MzcsImV4IjoiMjAyNS00LTMgMTM6NTI6MjUifQ|68514fe2u1t0bkchgl0b4k23l6|D4t-773HLB5TsnD_wkdpMbohlYo; dqsid=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NDM2NTk1NDUsImp0aSI6ImVUUXVWQkNDVXRvUmlWSVBjNjA1WHcifQ.wGWdmFV35or5YDdjPKBbiPSuUFzUmTgK-wpY3sEEUes; wosid=ukMqpuv39tKgefzCK1YAC0; woinst=227078' \
  -H 'origin: https://appstoreconnect.apple.com' \
  -H 'priority: u=1, i' \
  -H 'referer: https://appstoreconnect.apple.com/access/integrations/api' \
  -H 'sec-ch-ua: "Chromium";v="130", "YaBrowser";v="24.12", "Not?A_Brand";v="99", "Yowser";v="2.5"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 YaBrowser/24.12.0.0 Safari/537.36' \
  -H 'x-csrf-itc: [asc-ui]' \
  --data-raw '{"data":{"type":"apiKeys","attributes":{"allAppsVisible":true,"keyType":"PUBLIC_API","nickname":"MyTracker","roles":["ADMIN"]}}}'

4 Username of each user experiencing the issue username: UNIT6.ru @ apple's account

 unit6ru@icloud.com

5 Web browsers that you were able to reproduce the issue in

Google Chrome 6 Web browser version numbers

version 134.0.6998.179 (Official build), (64 bit)

Can't create Api key for API App Store Connect
 
 
Q