404 Error Response on Add CallLogs Api Call

I was trying to do a post api call for adding a call log through postman, but its returning me 404 not found response, can someone please tell me what’s the reason for it.
Below is the details of my api call in postman:
URL: https://company-name.pipedrive.com/api/v1/callLogs
Body {
“user_id”:“xxxx”,
“subject”: “Call”,
“duration”: “60”,
“outcome”: “connected”,
“from_phone_number”:“xxxx”,
“to_phone_number”:“xxxx”,
“start_time”:“2021-05-18 09:45:40”,
“end_time”:“2021-05-18 09:55:40”
}
Response:
{

"statusCode": 404,

"error": "Not Found",

"message": "Not Found"

}

Hi @syed

Thanks for asking this question! Indeed, calling POST /api/v1/callLogs with company domain responds with 404, but works as https:/api.pipedrive.com/v1/callLogs. The team, who is working with this endpoint, is already aware and working on making it work for both cases.

Meantime, you could use https://api.pipedrive.com/v1/callLogs.

1 Like

Hi @mykhailo

Thanks for the response. Could you please let me know when with company domain also this api is going to work, is it going to be take days or something?
Also it will be helpful for me if you provide me the list of such api calls which are not going to work with company domain but will work with api.pipedrive.com domain.

Hi @mykhailo

It seems https://api.pipedrive.com/v1/callLogs api is returning me 500InternalServer error since half an hour.

Unfortunately, I can’t provide any timeframe, but the team is aware and will work on it as soon as they can.

Also it will be helpful for me if you provide me the list of such api calls which are not going to work with company domain but will work with api.pipedrive.com domain.

There is no such list as both api.pipedrive.com and companyDomain.pipedrive.com/api should work in the same way. companyDomain is a relativity new thing, so some of the new endpoints might not properly propagate there yet. If you find more endpoints that respond with 404 under companyDomain feel free to let us know.

I checked the endpoint (https://api.pipedrive.com/v1/callLogs), and it seems to be working fine. Does it still return 500 for you?

Yes its still returning me with 500 internal server error

@syed could you DM me your request body, and how do you make an API call?

I am able to successfully request the api call, its returning me result now. Thanks…

1 Like

Hi,

I am having the same kind of issue.
Posting call logs to: https://api.pipedrive.com/v1/callLogs
On my test environment everyting is working fine. On our customer environment a 404 is returned with the following body:

{“success”:false,“error”:“Not Found”}

Any idea?

Hi @Jason

Did I get it right, that you and your customer make the same request using the same URL

POST https://api.pipedrive.com/v1/callLogs

with different authorization, but it fails with 404 for the customer?

Hi Mykhailo,

That is correct!

Could you DM your company ID/domain and your customer’s.