質問編集履歴

1

エラー文の追加を行いました。

2020/07/05 06:57

投稿

matu33
matu33

スコア1

test CHANGED
File without changes
test CHANGED
@@ -17,6 +17,50 @@
17
17
 
18
18
 
19
19
  Excon::Error::Forbidden - Expected(200) <=> Actual(403 Forbidden)
20
+
21
+ :body => "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>4DE499D755D4FB9E</RequestId><HostId>HQU5DcRl2tfZW7TbQ8XQ5PLunUz8ycRSi+4Cb5PJOdlJRB2xg4A+/Ctrf3KzmT3SGnBZP1tAW7w=</HostId></Error>"
22
+
23
+ :cookies => [
24
+
25
+ ]
26
+
27
+ :headers => {
28
+
29
+ "Connection" => "close"
30
+
31
+ "Content-Type" => "application/xml"
32
+
33
+ "Date" => "Sun, 05 Jul 2020 02:03:02 GMT"
34
+
35
+ "Server" => "AmazonS3"
36
+
37
+ "x-amz-id-2" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
38
+
39
+ "x-amz-request-id" => "xxxxxxxxxxxxxxxx"
40
+
41
+ }
42
+
43
+ :host => "バケット名.s3-ap-northeast-1.amazonaws.com"
44
+
45
+ :local_address => "xxx.xxx.xx.x"
46
+
47
+ :local_port => 63552
48
+
49
+ :path => "/uploads/tmp/1593914581-805977756192592-0002-3058/%E3%83%8F%E3%82%9A%E3%83%BC%E3%82%AB%E3%83%BC.jpg"
50
+
51
+ :port => 443
52
+
53
+ :reason_phrase => "Forbidden"
54
+
55
+ :remote_ip => "xx.xxx.x.xxx"
56
+
57
+ :status => 403
58
+
59
+ :status_line => "HTTP/1.1 403 Forbidden\r\n"
60
+
61
+ :
62
+
63
+ app/controllers/products_controller.rb:36:in `create'
20
64
 
21
65
  ```
22
66