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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,468 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,928 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChengFeng - MSFT 5,040 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.