I want to create an item to a Sharepoint List with one column being hyperlink. But theres is no examples and the errors returned by the api are not very clear.
The api return error 500: "General exception while processing"
The problems is definitely related to the hyperlink since if I comment and just leave title inside $additionalData the item is created.
When you get one item from the api creade by the sharpoint website the object ListItem return the field URL like an array with two properties Description and Url.
I reserch and only fount a post saying is not supported. But I can't find any official source of what type of columns does Microsoft Graph API support on Sharepoint List Items? Or how I can create or edit a item with a hyperlink?
I want to create an item to a Sharepoint List with one column being hyperlink. But theres is no examples and the errors returned by the api are not very clear.
I used a similar code to this https://learn.microsoft.com/en-us/graph/api/listitem-create?view=graph-rest-1.0&tabs=php
My code:
Bud the api return error 400:
"Invalid request"
If i send the url like the title
The api return error 500:
"General exception while processing"
The problems is definitely related to the hyperlink since if I comment and just leave title inside $additionalData the item is created.
When you get one item from the api creade by the sharpoint website the object ListItem return the field URL like an array with two properties
Description
andUrl
.I reserch and only fount a post saying is not supported. But I can't find any official source of what type of columns does Microsoft Graph API support on Sharepoint List Items? Or how I can create or edit a item with a hyperlink?