We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Date fields need to be converted to strings before they can be sent to Asana or they cause an error. For example:
library(asana) library(dcasana) library(dplyr) team_content_quality_gid <- dc_get_teams() %>% filter(name == "Content Quality") %>% pull(gid) test_project <- asn_projects_create_in_team( team = team_content_quality_gid, name = "test-autogenerated-project", notes = "This is a test. Please delete this project." ) test_task <- asn_tasks_create( projects = test_project$content$data$gid, name = 'Test Task 1', due_on = Sys.Date() + 1 ) #> Error in curl::handle_setform(handle, .list = req$fields): Unsupported value type for form field 'due_on'.
Ideally, all dates should automatically be converted to strings (using format()), rather than the user having to manually do this.
format()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Date fields need to be converted to strings before they can be sent to Asana or they cause an error. For example:
Ideally, all dates should automatically be converted to strings (using
format()
), rather than the user having to manually do this.The text was updated successfully, but these errors were encountered: