Page 1 of 1

[Fixed]Error receiving asset info

Posted: Sun Feb 20, 2022 11:58 pm
by zoes
Hi!

I am having an issue with getting asset information where the information from the assets endpoint seems incorrect. Here is a specific example:

INPUT

Code: Select all

# get asset information
{{baseURL}}/api/v1.0/companies/0/sites/286/assets/
OUTPUT

Code: Select all

 [
    ...
    ...
    {
        "ID": 392,
        "AssetType": {
            "ID": 2,
            "Name": "UPS / EBM / Bypass"
        }
    },
    ...
    ...
]
INPUT

Code: Select all

# specific asset information
{{baseURL}}/api/v1.0/companies/0/sites/286/assets/392
OUTPUT

Code: Select all

{
    "errors": [
        {
            "path": null,
            "message": "Customer asset not found.",
            "value": null
        }
    ]
}
Using an asset associated with the site found from the first API request fails during the second API request. I am using implicit grant type.

Re: Error receiving asset info

Posted: Mon Feb 21, 2022 12:27 am
by PremMarkeli
Hi,

We were unable to reproduce what you are experiencing on our end with our builds info. Can you please send a private message about your build details, site and assets your were trying to retrieve. So we can further look into it and find a cause for it.

Regards.

Re: Error receiving asset info

Posted: Mon Feb 21, 2022 10:45 am
by zoes
Did you get my message?