Good morning, we are testing an integration via API and we are getting an error on the following endpoint:
/crm/v3/objects/contacts/3587101/associations/company/9673630276/contact_to_company
Hi, @JMarino Thanks for reaching out. Can you link me to the documentation page and list the specific endpoint you are using, please? Is it Accounts Dashboard | HubSpot for example?
Error: HTTP-Code: 500
Message: An error occurred.
Body: {"status":"error","message":"internal error","correlationId":"dba58996-cca8-4a9f-ba9d-c15556e03c9e"}
Headers: {"access-control-allow-credentials":"false","alt-svc":"h3=\":443\"; ma=86400, h3-29=\":443\...
File "/app/node_modules/@hubspot/api-client/lib/codegen/marketing/transactional/apis/SingleSendApi.js", line 60, col 23, in SingleSendApiResponseProcessor.<anonymous>
throw new exception_1.ApiException(response.httpStatusCode, "An error occurred.", body, response.headers);
File "/app/node_modules/@hubspot/api-client/lib/codegen/marketing/transactional/apis/SingleSendApi.js", in Generator.next
File "/app/node_modules/@hubspot/api-client/lib/codegen/marketing/transactional/apis/SingleSendApi.js", line 5, col 58, in fulfilled
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
File "node:internal/process/task_queues", line 96, col 5, in processTicksAndRejections
In the test environment the endpoint works.
Entorno de pruebas
entorno-de-pruebas-1.colppy.com21957969
While in the production environment it does give an error.
{“status”:“error”,“message”:“internal error”,“correlationId”:“4caf46a3-27ff-4f10-ace1-9c948259272e”}
Production environment
colppy.com19877595
The strangest thing that this endpoint does work in production