Webhooks and dashboard jobs missing

Jobs done but webhooks status “cancelled” and 2 drivers arrived at the same time. No jobs recorded on our dashboard history.

[2019-06-14 14:47:34] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : new
Id Delivery :
Status Delivery :
[2019-06-14 14:47:34] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : searching
Id Delivery :
Status Delivery :

[2019-06-14 14:47:34] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : searching
Id Delivery :
Status Delivery :
[2019-06-14 14:47:37] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : create
id : 9930067
JobReference : 0000093378-1
Status Command : new
Id Delivery :
Status Delivery :
[2019-06-14 14:47:37] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : searching
Id Delivery :
Status Delivery :
[2019-06-14 14:47:50] prod.INFO: [2019-06-14 02:47] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : in_progress
Id Delivery : 10083621
Status Delivery : picking

[2019-06-14 14:47:51] prod.INFO: [2019-06-14 02:47] {
“etat”: {
“etat”: [
{
“code”: 0,
“tel”: “0666513169”,
“message”: “Votre message a bien ete envoye”
}
]
}
}
[2019-06-14 14:52:06] prod.INFO: [2019-06-14 02:52] REJOB COURSE

[2019-06-14 14:52:06] prod.INFO: Commande enregistree id : 9930258

[2019-06-14 14:52:06] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : new
Id Delivery :
Status Delivery :

[2019-06-14 14:52:06] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : searching
Id Delivery :
Status Delivery :
[2019-06-14 14:52:06] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : create
id : 9930258
JobReference :
Status Command : new
Id Delivery :
Status Delivery :

[2019-06-14 14:52:06] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : searching
Id Delivery :
Status Delivery :
[2019-06-14 14:52:12] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : searching
Id Delivery :
Status Delivery :
[2019-06-14 14:52:28] prod.INFO: [2019-06-14 02:52] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : in_progress
Id Delivery : 10083820
Status Delivery : picking

[2019-06-14 15:00:48] prod.INFO: [2019-06-14 03:00] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : in_progress
Id Delivery : 10083820
Status Delivery : delivering
[2019-06-14 15:01:09] prod.INFO: [2019-06-14 03:01] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-1
Status Command : in_progress
Id Delivery : 10083621
Status Delivery : delivering

[2019-06-14 15:09:24] prod.INFO: [2019-06-14 03:09] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-2
Status Command : in_progress
Id Delivery : 10083622
Status Delivery : delivering

[2019-06-14 15:13:51] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]
[2019-06-14 15:13:52] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]

[2019-06-14 15:13:52] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]
[2019-06-14 15:13:52] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]
[2019-06-14 15:13:52] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]
[2019-06-14 15:13:52] prod.INFO: [2019-06-14 03:13] WEBHOOCK
job : update
id : 9930258
JobReference :
Status Command : canceled
Id Delivery : 10083820
Status Delivery : cancelled

[2019-06-14 15:13:52] prod.ERROR: Call to undefined method stdClass::save() {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined method stdClass::save() at /app/html/ogcAprium/app/Http/Controllers/MmcmWebhook.php:219)
[stacktrace]
[2019-06-14 15:16:26] prod.INFO: [2019-06-14 03:16] WEBHOOCK
job : update
id : 9930067
JobReference : 0000093378-2
Status Command : finished
Id Delivery : 10083622
Status Delivery : delivered

Hello @OliviaMMCM,

Job ‘9930067’ was finished successfully as is reflected in the final webhook update you received for this job at ‘2019-06-14 15:16:26’.

Job ‘9930258’ was cancelled with the reason ‘End-customer refused package’. This job does not have a client reference which I suspect might prevent you from tracking it in your own dashboard. Can you confirm whether the dashboard you refer to is the Stuart dashboard or your own made through tracking deliveries using our webhooks?

Job ‘9930258’ was created at 14:52 and job ‘9930067’ was created at 14:47. Both of these jobs were created around the same time and had the same end destination address. This explains why two drivers arrived at the same time. Based on your other post I guess that this was unexpected behaviour because one of these jobs was intended to be scheduled for a later time.

Hello @Lauren,

we used our dashboard, but we have no info collected about this too jobs.
We received the webhooks but we have no trace of it.
And in our Stuart Production dashboard, there is no job and no trace at this date either, even for the delivered job. :thinking:

Hello @OliviaMMCM,

Is it possible that you are looking at the Stuart dashboard for a different account than the one in question, can you see your other jobs in the dashboard?

I would recommend testing these cases in the sandbox environment where you can create and cancel jobs to see if the sandbox dashboard is showing the history that you would expect.

For your production account you can view job history here.

Hi @Lauren,
we are OK with Sandbox and Production account.
We have too environnement as well, one on sandbox and another one on production account.

And as you can see in our production account, we have all other jobs but not this one.
The last job we have is 06/12 and not at 06/14

Is there something wrong with our account and all the jobs are not displaying?

@Lauren
All our scheduled jobs in sandbox are working fine.
We don’t know why this is not working in production.

Could we scheduled a few minutes togather to:

  • We create a scheduled job in production
  • You check if everything is OK
  • You cancel the job, even if the job is an instant job and not a scheduled one
    I have a meeting in 20 mn, so we could do that now or this afternoon at 3pm or later, as you want.
    We will creat this “fake” job in Bordeaux with a fake Pharmacy and fake customer for the delivery.

Is it possible for you?
Thanks a lot :wink:

Hi @OliviaMMCM,

I can take the time after 4pm Paris time, feel free to book a call in our team calendar here https://calendly.com/integrations-stuart-api/tech_kickoff_meeting?month=2019-06

Hi @Lauren,

In sandbox, we’re not receiving the status “delivering” for the first job (when the job is in 2 parts (delivery-1 and delivery-2). We’re receiving the “delivering” for the part 2, but not the first part. In production, this is OK.
As well, for our “re-job”, we are not receiving the “delivering” status.
Why? Because this is the sandbox environnement?
Do we havee to test in production to check if the “delivering” status is OK?
Thanks for your help :wink:

Hello Olivia,

Could you provide me with your sandbox account email address in direct message so that I can check if this seems to be the case on our side. I can confirm that the status updates in webhooks should be the same in sandbox and production environments.

To be clear, are you saying that there only seems to be ‘delivering’ status missing in the sandbox environment?

Hello @OliviaMMCM,

Having taken another look, you are actually receiving only job level webhooks updates and not delivery level in both sandbox and production environments.

Our related post on webhooks set up can help you ensure you are set to receive the webhooks updates that you want. Note that ‘delivering’ is a delivery status rather than a job status and so will only be received from delivery updated event webhooks.