Getting a response Error 500

Joel Akoun 0 Reputation points
2024-02-09T16:29:32.8866667+00:00

Hi , I was trying to insert data to a microsoft list using Graph API in python with an access token:

access_token = self.get_access_token() 
list_id = "X"
site_id = "X"
url=f"https://graph.microsoft.com/v1.0/sites/{site_id}/lists/{list_id}/items"
headers 
 
  
}
for
      data 
        
          
          
          
          
          
          
        
      
      response 
	  


When I raise the response error, I get 'error': {'code': 'generalException', 'message': 'General exception while processing'} I'm trying to understand what's going on. Thanks

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,277 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshu Sharma 500 Reputation points Microsoft External Staff
    2024-02-12T03:20:32.2333333+00:00

    Hi Joel, could you please provide more details on this, like what permissions you are using?

    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.