Adding to what @Stefan_Witschel said, I would assume you are fetching the data in the service scope of the management tenant and not using the service scope on the actual tenant or the user scope. The differences are explained in this article:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Microservices Best Practices: Tenant vs User Scope API access in Java SDK | 0 | 314 | June 18, 2024 | |
| How to get tenant details in C8Y microservice | 5 | 352 | March 30, 2024 | |
| Error Invalid credentials when using bootstrap user | 2 | 459 | April 2, 2024 | |
| Microservice Client that connect to multiple devices | 2 | 621 | February 11, 2023 | |
| Pass authorization from microservice to microservice | 10 | 383 | December 24, 2024 |