Hey @vbetoglou ! 👋
When a request is sent to your WordPress REST API AI Engine, retrieve the X-WP-Nonce of the request and use the wp_verify_nonce WordPress function to authenticate the request. If the response is unauthorized (401), it means that the nonce wasn’t valid. This could be due to how you are dealing with cookies/cache. You can try disabling other plugins and ensure no processes are running without your knowledge that could affect this behavior.
However, in your case, this message seems to be coming from somewhere else. Please ensure you are not using any filters or third-party security plugins that require your users to be logged in to communicate with your WordPress REST API. This might also be a security measure implemented at your hosting service level.
Thanks!
