Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Mobile Device list issue

    Posted 06-05-2025 18:15

    Austen | 2019-07-29 15:22:46 UTC | #1

    Hi,

    Attempting to call the mobile devices "get a list of all devices" function using the following endpoint:

    https://api.{{environment}}/api/v2/mobiledevices?pageSize=25&pageNumber=1&sortOrder=ascending

    gives the following results:

    { "status": 404, "code": "not.found", "message": "Entity [user] is not found by id [8b9b71f3-e3e5-4424-b39b-d28b8edf643b]", "contextId": "c38e2f36-ac64-4e04-a25e-1fdcd3e6ab29", "details": [], "errors": [] }

    Any ideas how I can resolve this? I'm using client credentials to access the API rather than a full-blown user, but the documentation doesn't specify that this is a user-specific API.


    tim.smith | 2019-07-29 15:33:31 UTC | #2

    This is a bug in the API. This resource is not correctly identifying that the request was made using client credentials and is trying to retrieve permissions from a user instead of from the roles assigned to the oauth client. Please open a case with PureCloud Care to report the issue.


    system | 2019-08-29 15:33:33 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5654