Fork me on GitHub
#aws
<
2020-03-19
>
grounded_sage19:03:15

How does one get a more detailed error message for S3 anomalies?

kenny19:03:10

My guess is you don't 😬 You can get the full response from the anomaly's metadata to see if there's anything else that may be interesting. What operation are you doing and what is the anomaly?

grounded_sage19:03:30

I found it. Was just (-> S3-response :Error :Message)

grounded_sage19:03:42

But it seems that it’s straight up returning a nil.

grounded_sage19:03:18

We are getting a failure in the tests in our CI but not locally. Difficult to debug this lol

grounded_sage19:03:33

I am using cognitects aws-api btw

kenny19:03:36

Perhaps S3-response isn't what you expect? I suggest logging the whole anomaly map if it is one.

kenny19:03:22

Perhaps CI doesn't have the proper creds?

grounded_sage20:03:30

Had to print the whole response. Was nothing in the errors

grounded_sage20:03:43

Found the issue πŸ™‚