I don’t even see the 500 error, it just times out. If I drop the port number to have it fall back to just 443, then the request completes quickly but the response is an error:
This is my first time attempting to access the API so I’m not confident that this request has ever worked before (though I’m sure it conforms to the docs). I tried a few permutations of the Authorization header too, e.g. Authorization: Bearer xx-yy-zz, Authorization: "Bearer xx-yy-zz", Authorization:"Bearer xx-yy-zz".
Ahh I’ve got it to work now. The tricks I needed to perform:
Drop the port :8443 from the URL (unlike the reference specifies)
Ensure your application’s auth settings have a URL defined, and scope set to ‘user’ (this should be reflected in the authorization response, it should say ‘scope: user’)
Format the header like so: Authorization: Bearer xxx-yyy-zzz (no quotes, unlike the docs specify)