Upload user profile using /connect/user-profiles/user ID/photo rest api not working for jpg and png images
up vote
0
down vote
favorite
We are using "/connect/user-profiles/user ID/photo" to upload user profile photo. It was working fine but now we are facing an issue this api is not working for 'jpg and png' images. Its throwing an error with message "The file you uploaded doesn't appear to be a valid image". It is working fine for jpeg only.
salesforce salesforce-chatter
add a comment |
up vote
0
down vote
favorite
We are using "/connect/user-profiles/user ID/photo" to upload user profile photo. It was working fine but now we are facing an issue this api is not working for 'jpg and png' images. Its throwing an error with message "The file you uploaded doesn't appear to be a valid image". It is working fine for jpeg only.
salesforce salesforce-chatter
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
We are using "/connect/user-profiles/user ID/photo" to upload user profile photo. It was working fine but now we are facing an issue this api is not working for 'jpg and png' images. Its throwing an error with message "The file you uploaded doesn't appear to be a valid image". It is working fine for jpeg only.
salesforce salesforce-chatter
We are using "/connect/user-profiles/user ID/photo" to upload user profile photo. It was working fine but now we are facing an issue this api is not working for 'jpg and png' images. Its throwing an error with message "The file you uploaded doesn't appear to be a valid image". It is working fine for jpeg only.
salesforce salesforce-chatter
salesforce salesforce-chatter
asked Nov 19 at 15:08
Amit Kumar
14
14
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53377483%2fupload-user-profile-using-connect-user-profiles-user-id-photo-rest-api-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown