I can't able to create tasks in task center using API

AjaX22
Member
I can able to CRUD operate on Projects, Lists without any error
I can able to fetch tasks in projects and list
but unable to create a task and edit an existing task
if I follow the PUT method to create a task in a list mentioned in the documentation it throws error like below:
{ "status": 405,
"statusReason": "Method Not Allowed",
"message": "Not allowed",
"toe": "LETFL93CG3-V296V-J574C"
}
If I use POST method for task creation, i get error like below:
{ "status": 500,
"statusReason": "Internal Server Error",
"message": "Internal Server Error",
"toe": "UJU26ERK38-F78QO-PIQ5O"
}
PS: if you are wondering about access token…generated using client ID and Secret valid for an hour and the documentation link
Tagged:
0
Answers
-
@brycec is the man when it comes to this. He has created a nice collection here:
According to him, it looks like you need to create a user task like this:
{{baseUrl}}/content/v2/users/:userId/tasks
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 89 App Studio
- 46 Variables
- Automate
- 197 Apps
- 489 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 144 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive