Community
502 Gateway Error
We pull all driver data through API and it has worked until recently. We just started receiving 502 Gateway errors and are now not receiving any data. Is anyone else experiencing this? Or any solutions?
Posted by Adam 6 days ago
Vehicle List filtering (updatedAfterTime,createdAfterTime)
Hello I'm testing the list vehicle endpoint, and I have a doubt:
When I filter by **updatedAfterTime**, the new vehicles created will also appear.
Or i another case if I filter by **createdAfterTime** will the updated records show up to?
I saw that both filters can't be used in this request and I'm trying to figure out the best way to get all incremental information in just one call.
Posted by Patricia 7 days ago
Sending request to create a document with url of photo
Hello,
I'm trying to create a document with 'submitted' state and filled field values.
One of required fields has photo type.
Example of request from <https://developers.samsara.com/reference/postdocument>
curl --request POST
--url <https://api.samsara.com/fleet/documents>
--header 'accept: application/json'
--header 'content-type: application/json'
--data '
{
"state": "submitted",
"fields": \[
{
"type": "photo",
"value": {
"photoValue": [
{
"id": "f5271458-21f9-4a9f-a290-780c6d8840ff",
"url": "https://samsara-driver-media-upload.s3.us-west-2.amazonaws.com/123456"
}
]
},
"label": "field label"
}
],
"documentTypeId": "9814a1fa-f0c6-408b-bf85-51dc3bc71ac7",
"driverId": "45646",
"name": "Dropoff Slip 123",
"routeStopId": "45646"
}
'
When I'm trying to send such request, I get 400 Bad Request.
Error message: "document media field \"FIELD LABEL\" is required and must contain a value"
I've found out from <https://developers.samsara.com/docs/creating-documents#photo-fields>
that photos cannot be submitted via the API. The value for a photo field must be left blank.
Is this information up to date? Is there no way to create document with photo value via API?
Thank you in advance,
Viktoriia
Posted by Viktoriia Zinchenko 12 days ago
Data Replication (Database/CSV)
Under example scripts, there is an example of "Data Replication (Database/CSV)". Do you have an example code in C# or VB.NET (.Net Framework)?
Posted by Vincent Nguyen 15 days ago
Endpoints/Correct URL for Footage Pulling
I'm trying to build a tool to automate footage pulling using Zapier and Samsara API. Is there an endpoint URL that can be used to pull footage from specific vehicles?
Posted by Dylan Romaine 18 days ago
ETA
how i can turn ETA and miles to ahipper or delivery
Posted by Miraziz Mahmudjonov 22 days ago
Remote access to do a forced regen
Does Samsara have any collaborations, integrations with diagnostic software from Volvo, Detroit Diagnostic or OTR Performance Diagnostic Tool or any other so a technician could get a remote access to a truck's ECU in order to perform distant programming like calibrations, all types of regens, resets, check up tests, fault codes deletion, etc.?
Example: a truck is in derate mode thousand miles away, cannot drive more than 5 m/h, no adequate service nearby, weekend.... In 80% cases this issue can be solved by a trusted diagnostic specialist within 1-3 hours using software tools. No need to overpay to mobile road service, no towing, no other unnecessary expenses.
So is there any hope for this feature?
Posted by Vik Key about 1 month ago
How can you see the speed limit that samsara thinks it is
I watch signs also watch speed limit on goggle maps. I always pick the slow speed but samsara still will show I am speeding at times but does not show me exactly where so I can drive slower in that area next time. It is bad I can’t drive the posted speed limits because it will say I am speeding.
Posted by Dean w 3 months ago
Driver Login event associated with Carrier Proposed Assignment
We're seeing that when a driver accepts a Carrier Proposed Assignment a driver login is being created. Why does this occur?
Posted by Robin 4 months ago
OAuth UserId
What would be the best way to retrieve the userId of the person authenticating via OAuth?
Posted by Andy Bass 4 months ago