A SAS Visual Analytics report might return An error was encountered contacting the server (404 Request failed with status code 404) in some situations.
If you capture a network trace, the failed request would be to the reportData service, and the response would display a message similar to the following:
{"errorCode":15343,"message":"unable to find file - ec0ec386-23cc-4551-adb0-5f24470fe7ca_ec0ec386-23cc-4551-adb0-5f24470fe7ca_c44 - dd508.csv"
This issue is often the result of an issue in the redis service. You can test the redis endpoint by accessing the following URL to confirm whether the issue is in the redis service: https://{servername}/reportData/cacheHello. (Where {servername} would be the same as the server in the SAS Visual Analytics URL.)
If redis is the culprit, this URL returns the following:
cacheHello - Redis test Failed: - GET from Redis cache failed : ReportData: testRedis : calling GETs resulted in null value(s) for key and/or value.
You can typically resolve this issue by completing the following steps:
For more information, see the Troubleshooting section of the SAS Redis Server and SAS Redis Operator documentation.
Note: This issue occurs in SAS® Visual Analytics LTS 2023.03