cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

HTTP Graph Patch hyperlink to SharePoint List

I have an issue when i like to patch a listitem through an HTTP call to Graph.

 

It works fine when i update an single line of text field, but when I like to update an hyperlink field i get the following errors

  • {
      "error": {
        "code""invalidRequest",
        "message""The request is malformed or incorrect.",
        "innerError": {
          "request-id""3b0331ea-8c7e-468b-91f0-d6c5b6e8a80b",
          "date""2017-10-12T09:34:57"
        }
      }
    }
     

This error i receive when i try to update with the following body:

  • {
      "AL_SpecificationDocLink": {
        "Description""Google",
        "Url""http://google.com"   
        }  
    }

 

Thanks!

1 REPLY 1
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

I think it is the URL schema not match.

Take a try with the following one:

'Timesheet_x0020_Page': 
                {
                    '__metadata': { 'type': 'SP.FieldUrlValue' },
                    'Description': 'Google',
                    'Url': 'http://google.com'
                },

Reference:

SP.FieldUrlValue object

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,567)