Network Management

Unable to save changes done to map in the Orion Platform

The article discusses the inability to save changes on existing maps created on Orion Maps and how to address it.

First published date

10/14/2021 11:48 AM

Last published date

1/11/2022 3:10 PM

Overview

When editing maps created using Orion Maps, you are prompted with an error saying "Unable to Update [Map Name]"

e.g.


image.png

The article discusses the inability to save changes on existing maps created on Orion Maps

Product section

Orion Platform

Cause

When Orion Maps are being saved, the method it uses is what we call PUT Method. It's an HTTP Method, together with GET and POST, that sends data to a server to create/update a resource.

For more information about HHTP methods, visit HTTP Request Methods (© 2021 W3Schools, available at https://www.w3schools.com/, obtained on October 14, 2021)

The error is caused by denying the PUT verb on the IIS server, the reason the error show status code 404 when looking at the browsers Dev Tool
 
Request URL: https://[OrionServerAddress]/api2/maps/v1/projects/MAPS-4b5874f2-c2cf-464a-9426-e377695e01c5/
Request Method: PUT
Status Code: 404 
Remote Address: [server address]:443
Referrer Policy: strict-origin-when-cross-origin

 

Resolution

Ensure that under the HTTP Verb for the IIS Server, the PUT method is either allowed or not listed for the changes on the maps to be saved.
  • Log in to the server hosting the Web access for Orion
  • Open-up IIS Manager (inetmgr)
  • Under the Server Name, go to Request Filtering
  • Open "Edit Feature Settings..."
  • Enable "Allow unlisted verbs"

in the case of environments with strict security policy
  • Under the Server Name, go to Request Filtering
  • Go to HTTP Verbs
  • Make sure the PUT method is allowed or it has no list of any Deny Verb
  • Open "Edit Feature Settings..."
  • Enable "Allow unlisted verbs"