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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 210 members 2,944 guests
Please welcome our newest community members: