Problem with Activity Login endpoint

Hi guys, everyday I’m getting a 500 status response from a specify endpoint
/account-info/v3/activity/login

{"status":"error","message":"There was a problem with the request.","correlationId":"e94c338a-b2d7-4d2f-9568-56b1b9aa0ff4"}

I don’t think is AWS as we are doing a some request that we get 200 response, only this one is not working, as you can see bellow.

Hi @Niuco,

Thanks for reaching out and including a screenshot of the error message!

Can you please provide screenshots of the request you’re sending? This will help the community to better assist with next steps.

Thank you!

Best,

Kristen

Hi Kristen,

We hide the auth token because it is confidential data.

This request was made on 2022-10-13 16:20.

request:

curl --location --request GET 'https://api.hubapi.com/account-info/v3/activity/login' \
--header 'Authorization: Bearer CKru####################################################################################################################################################################################################AFoA'

response:

{
 "status": "error",
 "message": "There was a problem with the request.",
 "correlationId": "f53cc5a0-9501-4ac4-8ed9-f7dccb9fb305"
}

Hi @Niuco,

Thanks for reaching back out with the additional information and for hiding the sensitive data!

I noticed that the example “GET” endpoint on this Activity Login API doc here does not include location.

Could you try removing -- location -- from your request and sending it to HubSpot again?

Best,

Kristen

Hi Kristen,

Unfortunately the problem still persists. Something we noticed during testing is that there seems to be a “cold start Problem” on your side. Because whenever we send the first request we receive the error 500. But on the second attempt the data is received normally. The error occurs both with the --location tag and without it.
The problem occurs at any time of the day, whenever there is a gap of 15-20 minutes between one request and another.

Hi @Niuco,

Thank you for your patience. The Account Activity API is in beta which means there are improvements being made to it.

This is odd indeed - so just to confirm you get the error on one call, and then on the second attempt, you can make the call successfully?

Are you using the same request and getting the same response for both calls?

Thank you,

Kristen

- Yes

- Yes

Thank you for the details, @Niuco!

I’ll reach out to the team and reply to this thread when I have an update.

Best,

Kristen

Hi @Niuco,

We are not able to reproduce this on our end.

Can you verify and try the following please?

  • Ensure that the authorization token is correct
  • Try to test this in Postman (free API tool) to see if it behaves differently.

Thank you,

Kristen

Hi, is there any feedback on our request?

Hi Kristen,

We hide the auth token because it is confidential data.

This request was made on 2022-10-13 16:20.

request:

curl --location --request GET 'https://api.hubapi.com/account-info/v3/activity/login' \
--header 'Authorization: Bearer CKru####################################################################################################################################################################################################AFoA'

response:

{
 "status": "error",
 "message": "There was a problem with the request.",
 "correlationId": "f53cc5a0-9501-4ac4-8ed9-f7dccb9fb305"
}