Post

Replies

Boosts

Views

Activity

Reply to Cannot invite a tester to my testflight build, 409 error
I am an administrator and want to add people to the internal test group of testflight, but I keep getting an error. "errors" : [ { "id" : "ef93f5b2-3d39-4a87-bbc8-942032664462", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Tester(s) cannot be assigned" } ] url = "https://api.appstoreconnect.apple.com/v1/betaTesters" headers = { "Authorization": f"Bearer {access_token}", "Content-Type": "application/json" } data = { "data": { "type": "betaTesters", "relationships": { "betaGroups": { "data": [ { "id": "****", "type": "betaGroups" } ] } }, "attributes": { "email": email, "firstName": firstName, "lastName": lastName } } } response = requests.post(url, headers=headers, json=data) if response.status_code == 201: print("succes:", response.content) else: print("fail:", response.text)
Nov ’24