I'm getting an unexpected 500 response from the API endpoint POST https://gw.magicalapi.com/profile-data
this is the body:
{"request_id": "53eccdfa-d6a8-48ce-85d9-c58417089d5c"}
Initially I'm getting the "running" response as expected, but after a while, retrying I get 500 response with this body:
{
"message": "Something went wrong, please try again later!",
"usage": {
"credits": -150
}
}
With the support of Emma from consumer service I understood that the reason is that the user flagged the LinkedIn profile as hidden or private. I would expect a specific 4xx response code for this case, instead of 500 Internal Server Error.