API /devices Endpoint Broken

Hello,

It seems like the following API endpoint is broken in v3 and v4.

http://{{host}}/api/v2/devices

Getting the following error:

{
    "status": "error",
    "message": "Call to a member function transport() on null"
}

Please let me know if you need any further information

Thanks

That means one of your devices doesn’t have a valid profile attached to it.