Back to all

"No access to required licenses" when calling 'evStateOfChargeMilliPercent'

I've been using an api call for several months that retrieves the battery charge level and just recently it started failing with a license issue (04/06 @ 2pm UTC). Has anyone seen this?

2026-04-08T17:17:01.629556Z ? fetchsamsaravehiclelocationsfn: [fetchSamsaraVehicleStatsFeed] Samsara stats/feed error {
statType: 'evStateOfChargeMilliPercent',
status: 400,
statusText: 'Bad Request',
url: 'https://api.samsara.com/fleet/vehicles/stats/feed?types=evStateOfChargeMilliPercent',
requestId: 'zakfwtxm',
responseBody: '{"message":"No access to required licenses. Refer to API documentation to see which licenses are required to make this API call.","requestId":"zakfwtxm-vpchlejl"

Thanks,
John