I'm doing a simple POST request to create an engagements, but every request is returned as timeout, I don't know why this is happening, the code is in .Net Framwork 4.6 using HttpClient
Thanks for reaching out. I'm happy to try and help.
First, can you confirm that you've created company records in account 7831362? I know it sounds silly, but I want to rule that out as a factor.
Second, to clarify, you say:
The timeout occurs only on C#.Net HttpClient or WebClient request[s].
Does this mean you have gotten other C#.Net requests to succeed? For example, using the RestSharp client library?
If you haven't tried requests with RestSharp yet, would you mind trying something like the following to help isolate the issue?
var client = new RestClient("https://api.hubapi.com/crm/v3/objects/companies?hapikey=YOUR_KEY");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
If that does not work and you don't have working C# code, could you share what you do have so that I can examine your implementation more closely? If you'd rather not post here, feel free to direct message me.
First yes, I've created companies before on my account. But I remove that, the problem is my requests don't finish on endpoint. After consult my requests log, I can't see my old requests there.
Second, I've tryied Restsharp too and occurs the same issue.
About my code, I'll post on my git account and send to if you could check please.
Another endpoints don't ocorrus errors. I solved the issue using another internet provider. I just don't know why it crashed on my another internet ip.
But thanks for all help.
I have another question about hubspot:
My users generated a task by registered calls. The problem is about the subject of my task.
It's possible after register a call, the call description go to my new task?
Tasks are a type of engagement, so they can certainly be created and updated with the Engagements API.
Can you tell me a little more about how these tasks are created? Are you using this API or using HubSpot automation (workflows) to create tasks after calls are logged?