Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8299775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:17:12+00:00 2026-06-08T16:17:12+00:00

Im trying to add new task to asana using asana api. Im using Json.net

  • 0

Im trying to add new task to asana using asana api. Im using Json.net and C#, the json Im sending to server (https://app.asana.com/api/1.0/workspaces/555/tasks)looks like this:

{“name”:”aaaaaaaaaaaaa”,”assignee”:111,”workspace”:222,”followers”:[333],”project”:[444]}

Then the response from server is:

*{“data”:{“id”:1341474003806,”created_at”:”2012-07-26T22:50:40.603Z”,”modified_at”:”2012-07-26T22:50:40.603Z”,”name”:””,”notes”:””,”completed”:false,”assignee_status”:”later”,”completed_at”:null,”due_on”:null,”assignee”:null,”workspace”:{“id”:555,”name”:”workspacename”},”projects”:[],”tags”:[],”followers”:[{“id”:333,”name”:”username”}]}}*

So looks asana doesn’t save the task name, followers, assignee and project information that I’m sending to server.
Also when I’m trying to update the task manually using following Uri (https://app.asana.com/api/1.0/tasks/1341474003806) with following json

{“name”:”aaaaaaaaaaaaa”}

I get WebException with message “The remote server returned an error: (404) Not Found.”. But I can still paste this address into web browser and see task details:
*{“data”:{“id”:1341474003806,”assignee”:null,”projects”:[],”tags”:[],”created_at”:”2012-07-26T22:50:40.603Z”,”modified_at”:”2012-07-26T22:50:40.603Z”,”name”:””,”notes”:””,”completed”:false,”assignee_status”:”later”,”due_on”:null,”workspace”:{“id”:222,”name”:”Work development”},”followers”:[{“id”:333,”name”:”username”}],”completed_at”:null}}*
Also this task in not visible to me using web browser.

Am I doing something wrong? Maybe Im missing something in json? Could someone provide an example of how to create a task attached to workspace/project using .net. Or provide a dump o json that successfully creates a task. Or just point me a solution.
If necessary I can provide the source code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:17:14+00:00Added an answer on June 8, 2026 at 4:17 pm

    (I work at Asana).

    The reason your specific fields are not being accepted on task creation is because you need to put them inside a data element in the top-level dictionary you are sending, the same way it appears in the response. Since all your fields appear outside that element, they are being ignored.

    The reason you are getting “not found” for your update request is you are probably using a POST (create) to that URL when you should be using a PUT (update). There is no API endpoint that accepts a POST to a specific task ID.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im new to asp.net mvc. I'm trying add new model class but it got
I'm trying to add a new ADO.Net Entity Data Model to an MVC project
I'm trying to add a new task to the Windows Tasks Scheduler with schtasks.exe
I've created what I thought was a simple app using the .Net 4.0 Task
I'm trying to add a new nova-compute node (KUubuntu 12.04) to my single node
I am trying to add a new record to my internal table and this
I am trying to add a new column into an SQLiteDatabase but every time
I'm trying to add a new JDBC Data Source connect to hive in oracle
I am trying to add a new menu item to Eclipse's popupmenus. It really
Im trying to add an element to a database and then return a new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.