Hi, i’m trying to get back the current user’s data over realtime.
Can somebody help me to understand why this function returns this error.
The user is authenticated and and administrator.
14:33:43.478 MessageDashboard.tsx:62 Received items: {type: ‘items’, status: ‘error’, error: {…}, uid: ‘5’}error: {code: ‘INVALID_COLLECTION’, message: ‘The provided collection does not exists or is not accessible.’}status: "error"type: "items"uid: “5”
Hello, you can use this API to get the current logged in user, Users | Directus Docs
This doesn’t show the formatting to do this over a realtime websocket though. This exact code works fine if I change the collection to something I’ve made but it doesn’t work for system fields.
This doesn’t show the formatting to do this over a realtime websocket though. This exact code works fine if I change the collection to something I’ve made but it doesn’t work for system fields.
– bentodman93