cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Ncls
Level: Powered On

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
Community Support Team
Community Support Team

Re: HTTP Graph Patch hyperlink to SharePoint List

Hi @Ncls,

 

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
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,830)