Toonz wrote:The login process seems to be broken again lately for the Postnl app. Will have a look again, but not soon due to other commitments next week
For me the actual login is still working.
I still see a recent json file on the Toon with valid data in /tmp, so the real login is still working. But the Tile is still saying " Bezig met inloggen". Only processing after it is not showing a result in my case.
The cause was I had a first entry on the receiver json which was blocking showing the result in someway. After removing this one in the POSTNL App (not website) it was showing all results again.
This was an entry according to the website " Nog niet te volgen".
The contents of the json was:
Code: Select all
"receiver": [{
"shipmentType": "Pending",
"effectiveDate": "0001-01-01T00:00:00+00:00",
"key": "3SQDBN891119901-NL-xxxxAW",
"barcode": "3SQDBN891119901",
"country": "NL",
"postalCode": "xxxxAW",
"isInternational": false,
"product": null,
"description": null,
"pickup": null,
"delivery": {
"barcode": "3SQDBN891119901",
"status": "InTransit",
"phase": {
"index": null,
"message": "Shipment not yet found",
"route": null
},
"returnEligibility": null,
"firstDeliveryAttemptExpired": false,
"firstDeliveryAttemptDate": null,
"isDelivered": false,
"hasProofOfDelivery": false,
"deliveryDate": null,
"timeframe": null,
"deliveryStatusType": "Standard"
},
"rerouting": {
"barcode": "3SQDBN891119901",
"unavailabilityReason": null,
"availableOptions": {},
"rerouteInstruction": null,
"isAvailable": false,
"sponsorName": null
},
"beforeFirstDeliveryAttempt": true,
"firstDeliveryAttemptFailed": false,
"amounts": {},
"extraInformation": [],
"sender": null,
"receiver": null,
"originalReceiver": null,
"return": null,
"deliveryLocation": null,
"dimensions": null,
"multiColloPackages": [],
"notifications": [],
"generatedTitles": {
"receiver": "3SQDBN891119901",
"sender": "3SQDBN891119901"
},
"order": 0,
"trackedShipment": {
"id": 154091940,
"barcode": "3SQDBN891119901",
"postalCode": "xxxxAW",
"country": "NL",
"title": null,
"listNameKey": "receiver",
"box": "Receiver",
"status": "Delivered",
"source": "ManuallyAddedThroughWeb",
"order": null,
"key": "3SQDBN891119901-NL-xxxxAW"
},
"tripInformation": null,
"allObservations": null,
"isReturnShipment": null,
"pickUpRetailBarcode": null
},
Also the screen with the overview was not filled.
I think you can create such an entry by searching in the postnl app (not website) for a non existing barcode and choose " Zending bewaren". Then this entry will be at the start of the receiver list.
So maybe better to filter out this kind of entries.
Maybe also an idea to add a " debug" switch on the settings screen (or always turn it on) and logging the several steps and the outcome (not the json) to a logfile in /tmp. Of course overwriting the logging with every cycle so the filesystem won't fill up.