# How to access series endpoint with Cumulocity SDK

**URL:** <https://community.cumulocity.com/t/how-to-access-series-endpoint-with-cumulocity-sdk/6958>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [August 2, 2024, 8:46am UTC](https://community.cumulocity.com/t/how-to-access-series-endpoint-with-cumulocity-sdk/6958 "2024-08-02T08:46:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Harald\_Meyer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harald_meyer/32/1959_2.png) [@Harald\_Meyer](https://community.cumulocity.com/u/Harald_Meyer)\
**Post date:** [August 12, 2024, 6:53am UTC](https://community.cumulocity.com/t/how-to-access-series-endpoint-with-cumulocity-sdk/6958/2 "2024-08-12T06:53:24Z")

</div>

Hi,

as the series endpoint is not supported by the SDK, you have to access the endpoint directly. You should not be using the bootstrap credentials but either the service user or the user scope of the user who invoked your microservice. More details are explained here:

> [@Microservices Best Practices: Tenant vs User Scope API access in Java SDK](https://community.cumulocity.com/t/microservices-best-practices-tenant-vs-user-scope-api-access-in-java-sdk/3972):
>
> Overview When using the Microservice Java SDK for the first time you might struggle with an error: java.lang.IllegalStateException: Not within any context! This is because each request against cumulocity must be authenticated and you have to decide if you want to use the so called service user or an individual authenticated user. Personal remark: I’m aware of that the [official documentation](https://cumulocity.com/docs/microservice-sdk/java/#developing-microservice) currently contains examples I’m not referring in my article. The main reason is that I did comprehen…

Best regards,  
Harald

---

_[View the full topic](https://community.cumulocity.com/t/how-to-access-series-endpoint-with-cumulocity-sdk/6958)._
