I am developing an website using umbraco 16.
I had no problems when developing the site on localhost, but when publishing my website to a Windows serwer with IIS I can not save any changes on my imported/newly created dataTypes,site content or template.
Every PUT i send returns a 400 bad request result. For example when sending a put request to : /umbraco/management/api/v1/document-type/{GUID}
the payload is provided and is exactly the same as on my localhost where it works (imported with uSync).
Response :
{“type”: “https://tools.ietf.org/html/rfc9110#section-15.5.1”,“title”: “One or more validation errors occurred.”,“status”: 400,“errors”: [{“$.$”: [“The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.”]},{“$.requestModel”: [“The requestModel field is required.”]}],“traceId”: “00-a9d6bd35c558ac65c4ca056cf186e025-4783850f948bcb17-00”}
Did anyone encountered a similar problem ?