My CRM card extension action responds with internal error and error code 500
SOLVE
Hi there,
I've got a CRM card extension on my Contacts without any results or data inside of it. However, there is a primaryAction button which sends a POST request to my own Betty Blocks application which keeps returning a response with an error code of 500.
I have tested a couple of scenario's and it seems that the reason why I'm getting a response with the error code 500 is because I send another request (which is successful) within my Betty Blocks application which the HubSpot request has to wait for to complete. The time it takes for this request to complete is only about 5 seconds. And even though I return a JSON template with a "message" and response code of 200, I receive a response code of 500.
My CRM card extension action responds with internal error and error code 500
SOLVE
This could just be my problem yes. Little weird that I get an internal error instead of HubSpot telling me that the request has timed out. But thanks for helping out! @tjoyce
My CRM card extension action responds with internal error and error code 500
SOLVE
A configurable timeout setting/option would be nice though. The feature that I'm working on right now is completely broken because of such a problem...