Transactional IP - API Test - Development Portal


#1

Hi team,

We have Transactional IP setup on our development account to test single send API functionality. We’ve made a test email and are making some test calls to the single send api end point and test the response (I understand that no email will be triggered as it’s just a development portal) but am constantly getting the following error response

Status Code: 500 Internal Server Error
Content-Type: application/json; charset=UTF-8
Body:
{
    "status": "error",
    "message": "internal error",
    "correlationId": "93cd4b74-03cb-4046-8d3a-cda8a0fc9f31",
    "requestId": "b6f3f1b9894155066adc91c0fdf7aad5"
}

The request sent is as follows:

URL: https://api.hubapi.com/email/public/v1/singleEmail/send?hapikey=47ad8585-d8e8-47c8-a438-b5e3003556ef
Method: POST
Headers: Content-Type: application/json
Body:
{
"emailId": 4717956677,
"message": {
    "to": "test@test.com"
}
}

This response is different from the response received in a dev portal that does not have transactional IP activated. (which is a 403 forbidden response). Thanks in advance for your help.


#2

@bdaryani 500 errors aren’t much fun. This might be because we don’t allow email sends from dev portals which you seem to be aware of already. Is the email ID valid? Have you saved an email for a single send API? You might have to test this out on a test portal and not a dev portal when you can actually make an email and save it for single-send API


#3

Hi Peter,

Thanks for your reply.

The email ID is valid and saved for single send API. We do have a test portal (2162516) that we’ve been tryingg this on with no luck. Is the only solution to activate Transactional IP on a portal that is allowed to send emails (production)