Skip to content

Commit f7091c5

Browse files
authored
Add missing VCR cassettes for additional_data and request_id (#295)
1 parent 0a2d1db commit f7091c5

File tree

4 files changed

+120
-0
lines changed

4 files changed

+120
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
interactions:
2+
- request:
3+
body: ''
4+
headers:
5+
accept:
6+
- '*/*'
7+
accept-encoding:
8+
- gzip, deflate
9+
authorization:
10+
- ntn_...
11+
connection:
12+
- keep-alive
13+
host:
14+
- api.notion.com
15+
notion-version:
16+
- '2025-09-03'
17+
method: GET
18+
uri: https://api.notion.com/v1/users
19+
response:
20+
body:
21+
string: '{"object":"error","status":401,"code":"unauthorized","message":"API
22+
token is invalid.","request_id":"7ee2afd6-079d-4203-af08-d622988d8e19"}'
23+
headers:
24+
Content-Length:
25+
- '139'
26+
Content-Type:
27+
- application/json; charset=utf-8
28+
status:
29+
code: 401
30+
message: Unauthorized
31+
version: 1
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
interactions:
2+
- request:
3+
body: ''
4+
headers:
5+
accept:
6+
- '*/*'
7+
accept-encoding:
8+
- gzip, deflate
9+
connection:
10+
- keep-alive
11+
host:
12+
- api.notion.com
13+
notion-version:
14+
- '2025-09-03'
15+
method: GET
16+
uri: https://api.notion.com/v1/invalid
17+
response:
18+
body:
19+
string: '{"object":"error","status":400,"code":"invalid_request_url","message":"Invalid
20+
request URL.","request_id":"47e73e34-9e4c-4c38-ab4a-a46b5ad39b75"}'
21+
headers:
22+
Content-Length:
23+
- '145'
24+
Content-Type:
25+
- application/json; charset=utf-8
26+
status:
27+
code: 400
28+
message: Bad Request
29+
version: 1
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
interactions:
2+
- request:
3+
body: ''
4+
headers:
5+
accept:
6+
- '*/*'
7+
accept-encoding:
8+
- gzip, deflate
9+
authorization:
10+
- ntn_...
11+
connection:
12+
- keep-alive
13+
host:
14+
- api.notion.com
15+
notion-version:
16+
- '2025-09-03'
17+
method: GET
18+
uri: https://api.notion.com/v1/users
19+
response:
20+
body:
21+
string: '{"object":"error","status":401,"code":"unauthorized","message":"API
22+
token is invalid.","request_id":"8ee1aad8-c786-4eeb-972e-8c21c0b09dde"}'
23+
headers:
24+
Content-Length:
25+
- '139'
26+
Content-Type:
27+
- application/json; charset=utf-8
28+
status:
29+
code: 401
30+
message: Unauthorized
31+
version: 1
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
interactions:
2+
- request:
3+
body: ''
4+
headers:
5+
accept:
6+
- '*/*'
7+
accept-encoding:
8+
- gzip, deflate
9+
connection:
10+
- keep-alive
11+
host:
12+
- api.notion.com
13+
notion-version:
14+
- '2025-09-03'
15+
method: GET
16+
uri: https://api.notion.com/v1/invalid
17+
response:
18+
body:
19+
string: '{"object":"error","status":400,"code":"invalid_request_url","message":"Invalid
20+
request URL.","request_id":"ccf6e5b3-b771-4e67-a7c8-d80e8b9ab4cd"}'
21+
headers:
22+
Content-Length:
23+
- '145'
24+
Content-Type:
25+
- application/json; charset=utf-8
26+
status:
27+
code: 400
28+
message: Bad Request
29+
version: 1

0 commit comments

Comments
 (0)