Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"message": "Missing Inner Object \"access_codes\" for GET access_codes/list", #15

Open
ihorhnatchuk opened this issue Sep 21, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ihorhnatchuk
Copy link

I tried to get a list of pin codes through the SDK and got the following error.

 "message": "Missing Inner Object \"access_codes\" for GET access_codes/list",
    "exception": "Exception",
    "file": "/project/vendor/seamapi/seam/src/SeamClient.php",
    "line": 97,
    "trace": [
        {
            "file": "/project/vendor/seamapi/seam/src/SeamClient.php",
            "line": 289,
            "function": "request",
            "class": "Seam\\SeamClient",
            "type": "->"
        },
        {
            "file": "/project/app/Integrations/Seam/Api/SeamApi.php",
            "line": 70,
            "function": "list",
            "class": "Seam\\AccessCodesClient",
            "type": "->"
        },
@azihassan
Copy link

Do you pass in a device ID ? The PHP code makes it seem like it's optional, but the Python API and the docs treat it as being mandatory.

@seveibar seveibar added the help wanted Extra attention is needed label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants