Open pranavsiddharth opened 6 years ago
would recommend not putting your access tokens on the internet; however, the answer is in the response object ..$ x-amz-bucket-region: chr "us-east-1"
switch "AWS_DEFAULT_REGION" = "us-east-2" to be "us-east-1" and it should work
Please specify whether your issue is about: Post downloading latest packages I am not able to upload files to S3. Seems like a region issue as the S3 request URL being generated is "https://us-east-2.s3.us-east-2.amazonaws.com/a2isxsrp/Leaderboard.htm" which is incorrect. Any idea how to resolve this?
If you are reporting (1) a bug or (2) a question about code, please supply:
traceback()
run immediately after the error occurssessionInfo()
Put your code here:
R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages: character(0)
other attached packages: [1] aws.s3_0.3.20
loaded via a namespace (and not attached): [1] httr_1.3.1 magrittr_1.5 R6_2.2.2 assertthat_0.2.0 graphics_3.3.1 tools_3.3.1
[7] base64enc_0.1-3 huxtable_4.1.0 utils_3.3.1 curl_3.2 grDevices_3.3.1 Rcpp_0.12.16
[13] aws.signature_0.4.1 crayon_1.3.4 stats_3.3.1 datasets_3.3.1 xml2_1.2.0 stringi_1.1.7
[19] methods_3.3.1 stringr_1.3.1 digest_0.6.14 base_3.3.1