Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Limit record of heart rate #72

@lambui09

Description

@lambui09
DataReadRequest.Builder()
             .read(DataType.TYPE_HEART_RATE_BPM)
             .enableServerQueries()
             .bucketByTime(1, TimeUnit.MINUTES)
             .setTimeRange(startTime, endTime, TimeUnit.MILLISECONDS)
             .build()

I tried to get data for 2 months, but got the error:
onError -- 5022: Cannot bucket into more than 86400 intervals. -- null
If I transmit. SetLimit(1000) Then there will be data returned. What is the limit of the record limit API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions