Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

droplet_action error #192

Closed
Kvit opened this issue Apr 14, 2020 · 4 comments
Closed

droplet_action error #192

Kvit opened this issue Apr 14, 2020 · 4 comments
Labels
Milestone

Comments

@Kvit
Copy link

Kvit commented Apr 14, 2020

any droplet_action function returns

Error in do_VERB("POST", url, ..., body = body, encode = encode) : 
  Unsupported Media Type (HTTP 415).

Code to replicate the problem:

 droplet_create() %>% droplet_reboot()
Session Info
- Session info --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.6.3 (2020-02-29)
 os       Windows 7 x64 SP 1          
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_United States.1252  
 ctype    English_United States.1252  
 tz       America/Chicago             
 date     2020-04-13                  

- Packages ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 package     * version date       lib source        
 analogsea   * 0.8.0   2020-01-30 [1] CRAN (R 3.6.3)
 assertthat    0.2.1   2019-03-21 [1] CRAN (R 3.6.3)
 backports     1.1.5   2019-10-02 [1] CRAN (R 3.6.1)
 callr         3.4.3   2020-03-28 [1] CRAN (R 3.6.3)
 cli           2.0.2   2020-02-28 [1] CRAN (R 3.6.3)
 crayon        1.3.4   2017-09-16 [1] CRAN (R 3.6.3)
 curl          4.3     2019-12-02 [1] CRAN (R 3.6.3)
 desc          1.2.0   2018-05-01 [1] CRAN (R 3.6.3)
 devtools      2.2.2   2020-02-17 [1] CRAN (R 3.6.3)
 digest        0.6.25  2020-02-23 [1] CRAN (R 3.6.3)
 ellipsis      0.3.0   2019-09-20 [1] CRAN (R 3.6.3)
 fansi         0.4.1   2020-01-08 [1] CRAN (R 3.6.3)
 fs            1.3.2   2020-03-05 [1] CRAN (R 3.6.3)
 glue          1.3.2   2020-03-12 [1] CRAN (R 3.6.3)
 httr          1.4.1   2019-08-05 [1] CRAN (R 3.6.3)
 jsonlite      1.6.1   2020-02-02 [1] CRAN (R 3.6.3)
 magrittr      1.5     2014-11-22 [1] CRAN (R 3.6.3)
 memoise       1.1.0   2017-04-21 [1] CRAN (R 3.6.3)
 pkgbuild      1.0.6   2019-10-09 [1] CRAN (R 3.6.3)
 pkgload       1.0.2   2018-10-29 [1] CRAN (R 3.6.3)
 prettyunits   1.1.1   2020-01-24 [1] CRAN (R 3.6.3)
 processx      3.4.2   2020-02-09 [1] CRAN (R 3.6.3)
 ps            1.3.2   2020-02-13 [1] CRAN (R 3.6.3)
 R6            2.4.1   2019-11-12 [1] CRAN (R 3.6.3)
 Rcpp          1.0.4   2020-03-17 [1] CRAN (R 3.6.3)
 remotes       2.1.1   2020-02-15 [1] CRAN (R 3.6.3)
 rlang         0.4.5   2020-03-01 [1] CRAN (R 3.6.3)
 rprojroot     1.3-2   2018-01-03 [1] CRAN (R 3.6.3)
 rstudioapi    0.11    2020-02-07 [1] CRAN (R 3.6.3)
 sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 3.6.3)
 testthat      2.3.2   2020-03-02 [1] CRAN (R 3.6.3)
 usethis       1.5.1   2019-07-04 [1] CRAN (R 3.6.3)
 withr         2.1.2   2018-03-15 [1] CRAN (R 3.6.3)
 yaml          2.2.1   2020-02-01 [1] CRAN (R 3.6.2)
@sckott sckott added the bug label Apr 14, 2020
@sckott sckott added this to the v0.9 milestone Apr 14, 2020
@sckott
Copy link
Collaborator

sckott commented Apr 14, 2020

@Kvit thanks for the report! having a look now

@sckott sckott closed this as completed in 9a04746 Apr 15, 2020
@sckott
Copy link
Collaborator

sckott commented Apr 15, 2020

@Kvit try again after reinstalling, sometime DO changed the API - I don't remember seeing the change in their Changelog

@Kvit
Copy link
Author

Kvit commented Apr 15, 2020

it works now, thanks!

@sckott
Copy link
Collaborator

sckott commented Apr 15, 2020

great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants