I tried to change the defaultlayout of a layout via the API.
But problem is that it sends me an exception: error
Fatal error: Uncaught Xibo\OAuth2\Client\Exception\XiboApiException: { “error”: { “message”: “Page not found”, “code”: 404, “data”: [] } }
however, I sent my message to the correct URL. In this case to / display / default / {displayId}
Perhaps the displayId is incorrect. 404 indicates that the resource requested doesn’t exist. You obviously have successfully acquired access_token from the API, so the API should be working. Most likely the problem lies somewhere with the resource itself. Otherwise I would double-check the url-variable. LayoutId probably isn’t the problem because I believe the error would be different if that were the case, but you should double-check that also.