|
| 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": "585ef5af7d99fb416566ffe641d690f2", |
| 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-162904472b239d4d\",\"name\":\"test-name-162904472b239d4d\"},\"type\":\"team\"}}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v2/team" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 660, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/vnd.api+json", |
| 44 | + "size": 660, |
| 45 | + "text": "{\"data\":{\"id\":\"fb3c8c73-1c83-4913-a98b-af55466d7078\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":0,\"created_at\":\"2026-03-26T09:48:12.201036+00:00\",\"description\":null,\"handle\":\"test-handle-162904472b239d4d\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-03-26T09:48:12.201036+00:00\",\"name\":\"test-name-162904472b239d4d\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/fb3c8c73-1c83-4913-a98b-af55466d7078/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/fb3c8c73-1c83-4913-a98b-af55466d7078/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-26T09:48:11.718Z", |
| 61 | + "time": 577 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "13c10d34c3202f37a63ebb0085dd4fdd", |
| 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\":\"fb3c8c73-1c83-4913-a98b-af55466d7078\",\"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\":\"e796db96-28f8-11f1-bf29-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\":\"fb3c8c73-1c83-4913-a98b-af55466d7078\",\"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-26T09:48:12.310Z", |
| 114 | + "time": 506 |
| 115 | + }, |
| 116 | + { |
| 117 | + "_id": "13c10d34c3202f37a63ebb0085dd4fdd", |
| 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\":\"fb3c8c73-1c83-4913-a98b-af55466d7078\",\"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-26T09:48:12.825Z", |
| 167 | + "time": 175 |
| 168 | + }, |
| 169 | + { |
| 170 | + "_id": "5477d2b306d036cf583c1bfd8a8b9131", |
| 171 | + "_order": 0, |
| 172 | + "cache": {}, |
| 173 | + "request": { |
| 174 | + "bodySize": 81, |
| 175 | + "cookies": [], |
| 176 | + "headers": [ |
| 177 | + { |
| 178 | + "_fromType": "array", |
| 179 | + "name": "accept", |
| 180 | + "value": "*/*" |
| 181 | + }, |
| 182 | + { |
| 183 | + "_fromType": "array", |
| 184 | + "name": "content-type", |
| 185 | + "value": "application/json" |
| 186 | + } |
| 187 | + ], |
| 188 | + "headersSize": 585, |
| 189 | + "httpVersion": "HTTP/1.1", |
| 190 | + "method": "DELETE", |
| 191 | + "postData": { |
| 192 | + "mimeType": "application/json", |
| 193 | + "params": [], |
| 194 | + "text": "{\"data\":[{\"id\":\"e796db96-28f8-11f1-bf29-da7ad0900002\",\"type\":\"team_connection\"}]}" |
| 195 | + }, |
| 196 | + "queryString": [], |
| 197 | + "url": "https://api.datadoghq.com/api/v2/team/connections" |
| 198 | + }, |
| 199 | + "response": { |
| 200 | + "bodySize": 0, |
| 201 | + "content": { |
| 202 | + "mimeType": "text/plain", |
| 203 | + "size": 0 |
| 204 | + }, |
| 205 | + "cookies": [], |
| 206 | + "headers": [], |
| 207 | + "headersSize": 600, |
| 208 | + "httpVersion": "HTTP/1.1", |
| 209 | + "redirectURL": "", |
| 210 | + "status": 204, |
| 211 | + "statusText": "No Content" |
| 212 | + }, |
| 213 | + "startedDateTime": "2026-03-26T09:48:13.016Z", |
| 214 | + "time": 526 |
| 215 | + }, |
| 216 | + { |
| 217 | + "_id": "11eab709a0c7644f732d4b7004a3719c", |
| 218 | + "_order": 0, |
| 219 | + "cache": {}, |
| 220 | + "request": { |
| 221 | + "bodySize": 0, |
| 222 | + "cookies": [], |
| 223 | + "headers": [ |
| 224 | + { |
| 225 | + "_fromType": "array", |
| 226 | + "name": "accept", |
| 227 | + "value": "*/*" |
| 228 | + } |
| 229 | + ], |
| 230 | + "headersSize": 547, |
| 231 | + "httpVersion": "HTTP/1.1", |
| 232 | + "method": "DELETE", |
| 233 | + "queryString": [], |
| 234 | + "url": "https://api.datadoghq.com/api/v2/team/fb3c8c73-1c83-4913-a98b-af55466d7078" |
| 235 | + }, |
| 236 | + "response": { |
| 237 | + "bodySize": 0, |
| 238 | + "content": { |
| 239 | + "mimeType": "text/plain", |
| 240 | + "size": 0 |
| 241 | + }, |
| 242 | + "cookies": [], |
| 243 | + "headers": [], |
| 244 | + "headersSize": 632, |
| 245 | + "httpVersion": "HTTP/1.1", |
| 246 | + "redirectURL": "", |
| 247 | + "status": 204, |
| 248 | + "statusText": "No Content" |
| 249 | + }, |
| 250 | + "startedDateTime": "2026-03-26T09:48:13.546Z", |
| 251 | + "time": 626 |
| 252 | + } |
| 253 | + ], |
| 254 | + "pages": [], |
| 255 | + "version": "1.2" |
| 256 | + } |
| 257 | +} |
0 commit comments