cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

does not support HTTP PATCH method

Hi Guys,

 

I am trying to create a child note in my global navigation in sharepoint.

 

Receiving error:

{
"status": 400,
"message": "The type SP.NavigationNodeCollection does not support HTTP PATCH method.\r\nclientRequestId: 960fefd4-9a7e-4074-92de-3ffd9a87686c\r\nserviceRequestId: 5519ba9e-7034-8000-177e-f0e3098880d2",
"source": "https://kkit365.sharepoint.com/_api/Web/Navigation/GetNodeById(2008)/children",
"errors": [
"-1",
"Microsoft.SharePoint.Client.InvalidClientQueryException"
]
}

 

Picture here

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: does not support HTTP PATCH method

This is with POST.

 

However i have fixed it!.

 

The Flow was trying to update Navigation to something like /sites/customername/pages/home.aspx

 

Flow was trying to access that page and failing.

 

Settting it has the full URL did not work i.e. https://tenant.sharepoint.com/sites/customername/pages/home.aspx

 

Same Error it would detect it was this tenant and still try to access via only  /sites/customername/pages/home.aspx

 

Finally i solved it by setting the link url to the following:

 

//tenant.sharepoint.com/sites/customername/pages.home.aspx

 

This link works in SharePoint and via the API.

 

Not the best solution but it works!.

View solution in original post

2 REPLIES 2
aprildunnam
Level 10

Re: does not support HTTP PATCH method

That should be a POST method and not a PATCH in your Flow
Highlighted
Super User
Super User

Re: does not support HTTP PATCH method

This is with POST.

 

However i have fixed it!.

 

The Flow was trying to update Navigation to something like /sites/customername/pages/home.aspx

 

Flow was trying to access that page and failing.

 

Settting it has the full URL did not work i.e. https://tenant.sharepoint.com/sites/customername/pages/home.aspx

 

Same Error it would detect it was this tenant and still try to access via only  /sites/customername/pages/home.aspx

 

Finally i solved it by setting the link url to the following:

 

//tenant.sharepoint.com/sites/customername/pages.home.aspx

 

This link works in SharePoint and via the API.

 

Not the best solution but it works!.

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (6,400)