Profile Image API returns page not found on mobile due to redirect


I’ve been pulling through a users twitter avatar using This URL redirects t the true path e.g.

However, on a mobile the URL redirects to // which resolves to a 404 page rather than continue to redirect to the true image path.

Can you fix this please.


I have the same problem. Any update on a fix for this?


You should not rely on unpublished endpoints to retrieve data. Instead, use an endpoint that returns a User object, like [node:10320].