© 1999-2024 RingCentral, Inc. All rights reserved.
Privacy Notice
Question
Why do I get an 404 error when fetching profile-images?
I'm using the .Net API. Using Fiddler I can see the requests clearly. My notes
I fetch an extension's details:
C#:
ext = await r.RestClient.Restapi().Account().Extension(id).Get()
Fiddler:
https://platform.ringcentral.com/restapi/v1.0/account/~/extension/803791067
The result includes a profileImage, ie:
uri=https://platform.ringcentral.com/restapi/v1.0/account/574962067/extension/803791067/profile-image
But when I request the image then we get a failure:
C#:
picBytes = await r.RestClient.Restapi().Account().Extension(id).ProfileImage().Get();
Fiddler:
https://platform.ringcentral.com/restapi/v1.0/account/574962067/extension/803791067/profile-image
But it returns a "404" error:
HTTP/1.1 404 Not Found
{
"errorCode" : "CMN-102",
"message" : "Resource for parameter [extensionId] is not found",
"errors" : [ {
"errorCode" : "CMN-102",
"message" : "Resource for parameter [extensionId] is not found",
"parameterName" : "extensionId"
} ],
"parameterName" : "extensionId"
}
Surely this isn't right, is it? Because of these "404" results then it prevents my application from "graduating". Am I doing something wrong?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.