|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Teams/Create team connections returns \"Conflict\" response", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "41a6dab268b8510b2dc324d5fa75ae09", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 115, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "_fromType": "array", |
| 20 | + "name": "accept", |
| 21 | + "value": "application/json" |
| 22 | + }, |
| 23 | + { |
| 24 | + "_fromType": "array", |
| 25 | + "name": "content-type", |
| 26 | + "value": "application/json" |
| 27 | + } |
| 28 | + ], |
| 29 | + "headersSize": 574, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-84ab6777f7201a32\",\"name\":\"test-name-84ab6777f7201a32\"},\"type\":\"team\"}}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v2/team" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 661, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/vnd.api+json", |
| 44 | + "size": 661, |
| 45 | + "text": "{\"data\":{\"id\":\"be93b665-0a69-4573-8ef4-56f6a741c1a1\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":10,\"created_at\":\"2026-03-27T09:28:24.862516+00:00\",\"description\":null,\"handle\":\"test-handle-84ab6777f7201a32\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-03-27T09:28:24.862516+00:00\",\"name\":\"test-name-84ab6777f7201a32\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/be93b665-0a69-4573-8ef4-56f6a741c1a1/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/be93b665-0a69-4573-8ef4-56f6a741c1a1/permission-settings\"}}}}}" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/vnd.api+json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 662, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 201, |
| 58 | + "statusText": "Created" |
| 59 | + }, |
| 60 | + "startedDateTime": "2026-03-27T09:28:24.372Z", |
| 61 | + "time": 568 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "1ac41fd9f784940b18916a8a7ecd402e", |
| 65 | + "_order": 0, |
| 66 | + "cache": {}, |
| 67 | + "request": { |
| 68 | + "bodySize": 273, |
| 69 | + "cookies": [], |
| 70 | + "headers": [ |
| 71 | + { |
| 72 | + "_fromType": "array", |
| 73 | + "name": "accept", |
| 74 | + "value": "application/json" |
| 75 | + }, |
| 76 | + { |
| 77 | + "_fromType": "array", |
| 78 | + "name": "content-type", |
| 79 | + "value": "application/json" |
| 80 | + } |
| 81 | + ], |
| 82 | + "headersSize": 597, |
| 83 | + "httpVersion": "HTTP/1.1", |
| 84 | + "method": "POST", |
| 85 | + "postData": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "params": [], |
| 88 | + "text": "{\"data\":[{\"attributes\":{\"managed_by\":\"datadog\",\"source\":\"github\"},\"relationships\":{\"connected_team\":{\"data\":{\"id\":\"@MyGitHubAccount/my-team-name\",\"type\":\"github_team\"}},\"team\":{\"data\":{\"id\":\"be93b665-0a69-4573-8ef4-56f6a741c1a1\",\"type\":\"team\"}}},\"type\":\"team_connection\"}]}" |
| 89 | + }, |
| 90 | + "queryString": [], |
| 91 | + "url": "https://api.datadoghq.com/api/v2/team/connections" |
| 92 | + }, |
| 93 | + "response": { |
| 94 | + "bodySize": 317, |
| 95 | + "content": { |
| 96 | + "mimeType": "application/vnd.api+json", |
| 97 | + "size": 317, |
| 98 | + "text": "{\"data\":[{\"id\":\"4e4b0094-29bf-11f1-aeac-da7ad0900002\",\"type\":\"team_connection\",\"attributes\":{\"managed_by\":\"datadog\",\"source\":\"github\"},\"relationships\":{\"connected_team\":{\"data\":{\"id\":\"@MyGitHubAccount/my-team-name\",\"type\":\"github_team\"}},\"team\":{\"data\":{\"id\":\"be93b665-0a69-4573-8ef4-56f6a741c1a1\",\"type\":\"team\"}}}}]}" |
| 99 | + }, |
| 100 | + "cookies": [], |
| 101 | + "headers": [ |
| 102 | + { |
| 103 | + "name": "content-type", |
| 104 | + "value": "application/vnd.api+json" |
| 105 | + } |
| 106 | + ], |
| 107 | + "headersSize": 661, |
| 108 | + "httpVersion": "HTTP/1.1", |
| 109 | + "redirectURL": "", |
| 110 | + "status": 201, |
| 111 | + "statusText": "Created" |
| 112 | + }, |
| 113 | + "startedDateTime": "2026-03-27T09:28:24.945Z", |
| 114 | + "time": 516 |
| 115 | + }, |
| 116 | + { |
| 117 | + "_id": "1ac41fd9f784940b18916a8a7ecd402e", |
| 118 | + "_order": 1, |
| 119 | + "cache": {}, |
| 120 | + "request": { |
| 121 | + "bodySize": 273, |
| 122 | + "cookies": [], |
| 123 | + "headers": [ |
| 124 | + { |
| 125 | + "_fromType": "array", |
| 126 | + "name": "accept", |
| 127 | + "value": "application/json" |
| 128 | + }, |
| 129 | + { |
| 130 | + "_fromType": "array", |
| 131 | + "name": "content-type", |
| 132 | + "value": "application/json" |
| 133 | + } |
| 134 | + ], |
| 135 | + "headersSize": 597, |
| 136 | + "httpVersion": "HTTP/1.1", |
| 137 | + "method": "POST", |
| 138 | + "postData": { |
| 139 | + "mimeType": "application/json", |
| 140 | + "params": [], |
| 141 | + "text": "{\"data\":[{\"attributes\":{\"managed_by\":\"datadog\",\"source\":\"github\"},\"relationships\":{\"connected_team\":{\"data\":{\"id\":\"@MyGitHubAccount/my-team-name\",\"type\":\"github_team\"}},\"team\":{\"data\":{\"id\":\"be93b665-0a69-4573-8ef4-56f6a741c1a1\",\"type\":\"team\"}}},\"type\":\"team_connection\"}]}" |
| 142 | + }, |
| 143 | + "queryString": [], |
| 144 | + "url": "https://api.datadoghq.com/api/v2/team/connections" |
| 145 | + }, |
| 146 | + "response": { |
| 147 | + "bodySize": 133, |
| 148 | + "content": { |
| 149 | + "mimeType": "application/vnd.api+json", |
| 150 | + "size": 133, |
| 151 | + "text": "{\"errors\":[{\"status\":\"409\",\"title\":\"Conflict\",\"detail\":\"failed to add team connections: one or more team attributes already exist\"}]}" |
| 152 | + }, |
| 153 | + "cookies": [], |
| 154 | + "headers": [ |
| 155 | + { |
| 156 | + "name": "content-type", |
| 157 | + "value": "application/vnd.api+json" |
| 158 | + } |
| 159 | + ], |
| 160 | + "headersSize": 661, |
| 161 | + "httpVersion": "HTTP/1.1", |
| 162 | + "redirectURL": "", |
| 163 | + "status": 409, |
| 164 | + "statusText": "Conflict" |
| 165 | + }, |
| 166 | + "startedDateTime": "2026-03-27T09:28:25.465Z", |
| 167 | + "time": 160 |
| 168 | + }, |
| 169 | + { |
| 170 | + "_id": "fb8f40a0fece78aa5141a94e3de9fc5e", |
| 171 | + "_order": 0, |
| 172 | + "cache": {}, |
| 173 | + "request": { |
| 174 | + "bodySize": 0, |
| 175 | + "cookies": [], |
| 176 | + "headers": [ |
| 177 | + { |
| 178 | + "_fromType": "array", |
| 179 | + "name": "accept", |
| 180 | + "value": "*/*" |
| 181 | + } |
| 182 | + ], |
| 183 | + "headersSize": 547, |
| 184 | + "httpVersion": "HTTP/1.1", |
| 185 | + "method": "DELETE", |
| 186 | + "queryString": [], |
| 187 | + "url": "https://api.datadoghq.com/api/v2/team/be93b665-0a69-4573-8ef4-56f6a741c1a1" |
| 188 | + }, |
| 189 | + "response": { |
| 190 | + "bodySize": 0, |
| 191 | + "content": { |
| 192 | + "mimeType": "text/plain", |
| 193 | + "size": 0 |
| 194 | + }, |
| 195 | + "cookies": [], |
| 196 | + "headers": [], |
| 197 | + "headersSize": 632, |
| 198 | + "httpVersion": "HTTP/1.1", |
| 199 | + "redirectURL": "", |
| 200 | + "status": 204, |
| 201 | + "statusText": "No Content" |
| 202 | + }, |
| 203 | + "startedDateTime": "2026-03-27T09:28:25.628Z", |
| 204 | + "time": 646 |
| 205 | + } |
| 206 | + ], |
| 207 | + "pages": [], |
| 208 | + "version": "1.2" |
| 209 | + } |
| 210 | +} |
0 commit comments