Open DuneJeeper opened 10 months ago
@DuneJeeper this mostly happens when the cache was already empty. I agree that the message is misleading.
Same here, with this in the firefox console :
code: "ERR_BAD_REQUEST"
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
message: "Request failed with status code 400"
name: "AxiosError"
request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
mozAnon: false
mozSystem: false
onabort: function onabort()
onerror: function onerror()
onload: null
onloadend: function h()
onloadstart: null
onprogress: null
ontimeout: function ontimeout()
readyState: 4
response: '"Failed to clear Cache"'
responseText: '"Failed to clear Cache"'
responseType: ""
responseURL: "https://cloud.*****.org/apps/maps/photos/clearCache"
responseXML: null
status: 400
statusText: ""
timeout: 0
⚠️ This issue respects the following points: ⚠️
Bug description
Error "Failed to clear photos cache" message.
Steps to reproduce
Expected behavior
Photo cache clears
Installation method
Official Docker image
Operating system
None
PHP engine version
None
Web server
None
Database engine version
MariaDB
Is this bug present after an update or on a fresh install of the server?
None
Is this bug present after an update or on a fresh install of the app?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Browser Console
No response
Additional info