in sharepoint list of item post api call with image base64 encoded shown error with response code 500.

Nikunj Dholiya 0 Reputation points
2023-08-26T05:51:05.4033333+00:00

while post api call of share point list of item data response shown error of "General exception while processing" with response code 500,Screenshot 2023-08-26 at 11.19.56 AM

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-28T07:12:24.98+00:00

    HI @Nikunj Dholiya

    Judging from the content you provided, you want to upload a picture, and the picture is in the form of base64 encoding.

    Could you tell me if you want to update the image column or the attachment column?

    You can see the content of the image column through the get method, which is essentially a file stored in the site contentUser's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards

    Cheng Feng

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.