# Engagement API V3: resource not found

**URL:** <https://community.hubspot.com/t/engagement-api-v3-resource-not-found/91472>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [October 10, 2023, 12:30pm UTC](https://community.hubspot.com/t/engagement-api-v3-resource-not-found/91472 "2023-10-10T12:30:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KMarttinen](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@KMarttinen](https://community.hubspot.com/u/KMarttinen)\
**Post date:** [October 10, 2023, 12:30pm UTC](https://community.hubspot.com/t/engagement-api-v3-resource-not-found/91472/1 "2023-10-10T12:30:57Z")

</div>

Hi,

I am a rookie of using Hubspot api so maybe there is a simple solution for my problem.

I’ try create a new task and I have kept the test case as simple as possible but I still get “404 resource not found error”.

So I call [https://api.hubapi.com//crm/v3/objects/tasks](https://api.hubapi.com//crm/v3/objects/tasks) and header has necessary autohorization informaation.

Body is something like this:

“properties”: {

“hs\_timestamp”: “2023-10-30T03:30:17.883Z”,

“hs\_task\_body”: “Some text”,

“hubspot\_owner\_id”: “XXXXXX”,

“hs\_task\_subject”: “Some text”,

“hs\_task\_status”: “WAITING”,

“hs\_task\_priority”: “HIGH”,

“hs\_task\_type”:“CALL”

}

Value for hubspot\_owner\_id comes from [https://api.hubapi.com/crm/v3/owners](https://api.hubapi.com/crm/v3/owners) endpoint and I use id property not userid.

So what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [October 11, 2023, 10:58am UTC](https://community.hubspot.com/t/engagement-api-v3-resource-not-found/91472/2 "2023-10-11T10:58:48Z")

</div>

Hi @KMarttinen,  
Thank you for reaching out to the Community!  
I understand that you’d like to create a task via API but you get an error.  
You are using [this documentation](https://developers.hubspot.com/docs/api/crm/tasks#:~:text=To%20create%20a%20task%2C%20make,e.g.%2C%20contacts%2C%20companies).), right?  
In your code, the one thing I see is that the **status of the task** needs to be either " **COMPLETED" or “NOT\_STARTED”**. I don’t think that this is causing the error but just in case.  
Also, I believe that from what I can see [on this post](https://community.hubspot.com/t5/APIs-Integrations/API-to-Create-Sales-Task/m-p/452546) that the **task type** here should be “ **task** ”. Not 100% sure but you might want to give it a go?  
I also wanted to invite a couple of subject matter experts to this conversation @mangelet, @DanielJeal and [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) do you have suggestions to help @KMarttinen, please?  
**If anybody else has anything to add and/or share, please feel free to join in the conversation** 🙂  
Thank you and have a nice day!  
Best,  
Bérangère

---

<div class="post-metadata">

**Author:** ![KMarttinen](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@KMarttinen](https://community.hubspot.com/u/KMarttinen)\
**Post date:** [October 11, 2023, 8:05pm UTC](https://community.hubspot.com/t/engagement-api-v3-resource-not-found/91472/3 "2023-10-11T20:05:27Z")

</div>

Thank you for the reply. Yes, I am using and followed the documentation that you suggested. In the fact I managed to create new task when I did it with curl but when I try do a new task with the Postman I still get that “404 resource not found error”. This is quite wierd problem.
