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

Nikunj Dholiya 0 Reputation points

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

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,085 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
362 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChengFeng - MSFT 3,765 Reputation points Microsoft Vendor

    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