tillsteinbach/WeConnect-mqtt

oilLevelStatus - Bad Gateway

marcelrv opened this issue · 1 comments

I received all the data, but one field seems to give an error.
Dunno if that it is the response to expect when something is not supported?
It does show in the capabilities though.

 "oilLevel": {
                    "oilLevelStatus": {
                        "error": {
                            "code": 4004,
                            "message": "Bad Gateway",
                            "group": 3,
                            "info": "Something went wrong. Please try to re-login. If the problem persists, please contact our support.",
                            "timestamp": "2023-02-28T11:25:40+00:00",
                            "retry": true
                        }

capabilities:

                "oilLevelStatus": {
                    "id": "oilLevelStatus",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },

whole response (with --selective oilLevel ):

{
    "vehicles": {
        "WVWZZZ3CZME111111": {
            "vin": "WVWZZZ3CZME111111",
            "role": "PRIMARY_USER",
            "enrollmentStatus": "COMPLETED",
            "userRoleStatus": "ENABLED",
            "model": "Passat Variant",
            "devicePlatform": "MBB_ODP",
            "nickname": "PASSAT Va 2.0BusinDT090 TDID9F",
            "brandCode": "V",
            "capabilities": {
                "access": {
                    "id": "access",
                    "status": [
                        2003,
                        3003
                    ],
                    "expirationDate": "2022-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "cubicNetwork": {
                    "id": "cubicNetwork",
                    "userDisablingAllowed": false
                },
                "cubicNetworkConsumption": {
                    "id": "cubicNetworkConsumption",
                    "userDisablingAllowed": false
                },
                "dealerAppointment": {
                    "id": "dealerAppointment",
                    "status": [
                        1004
                    ],
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": true
                },
                "destinations": {
                    "id": "destinations",
                    "status": [
                        2003
                    ],
                    "expirationDate": "2022-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "emergencyCalling": {
                    "id": "emergencyCalling",
                    "expirationDate": "2030-11-03T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "fuelStatus": {
                    "id": "fuelStatus",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "honkAndFlash": {
                    "id": "honkAndFlash",
                    "status": [
                        2003
                    ],
                    "expirationDate": "2022-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "measurements": {
                    "id": "measurements",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "oilLevelStatus": {
                    "id": "oilLevelStatus",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "parkingPosition": {
                    "id": "parkingPosition",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "roadsideAssistant": {
                    "id": "roadsideAssistant",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "state": {
                    "id": "state",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "transactionHistoryHonkFlash": {
                    "id": "transactionHistoryHonkFlash",
                    "status": [
                        2003
                    ],
                    "expirationDate": "2022-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "transactionHistoryLockUnlock": {
                    "id": "transactionHistoryLockUnlock",
                    "status": [
                        2003,
                        3003
                    ],
                    "expirationDate": "2022-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "tripStatistics": {
                    "id": "tripStatistics",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealth": {
                    "id": "vehicleHealth",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthArchive": {
                    "id": "vehicleHealthArchive",
                    "status": [
                        1007
                    ],
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthInspection": {
                    "id": "vehicleHealthInspection",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthSettings": {
                    "id": "vehicleHealthSettings",
                    "status": [
                        1007
                    ],
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthTrigger": {
                    "id": "vehicleHealthTrigger",
                    "status": [
                        1007
                    ],
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthWakeUp": {
                    "id": "vehicleHealthWakeUp",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleHealthWarnings": {
                    "id": "vehicleHealthWarnings",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleLights": {
                    "id": "vehicleLights",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleWakeUp": {
                    "id": "vehicleWakeUp",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                },
                "vehicleWakeUpTrigger": {
                    "id": "vehicleWakeUpTrigger",
                    "expirationDate": "2051-11-25T00:00:00+00:00",
                    "userDisablingAllowed": false
                }
            },
            "images": {},
            "tags": [],
            "domains": {
                "oilLevel": {
                    "oilLevelStatus": {
                        "error": {
                            "code": 4004,
                            "message": "Bad Gateway",
                            "group": 3,
                            "info": "Something went wrong. Please try to re-login. If the problem persists, please contact our support.",
                            "timestamp": "2023-02-28T11:44:25+00:00",
                            "retry": true
                        }
                    }
                }
            },
            "controls": {
                "wakeup": "none"
            }
        }
    }
}

           

relevant log:


2023-02-28T12:44:25+0100:DEBUG:connectionpool:https://emea.bff.cariad.digital:443 "GET /vehicle/v1/vehicles/WVWZZZ3CZME111111/selectivestatus?jobs=oilLevel HTTP/1.1" 207 251
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:vehicle:Status oilLevelStatus does not exist, creating it
2023-02-28T12:44:25+0100:DEBUG:generic_status:Update status from dict
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/carCapturedTimestamp: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/carCapturedTimestamp: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER for 0 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/carCapturedTimestamp, value is diabled
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/carCapturedTimestamp: Notify called with flags: ObserverEvent.DISABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:error:Update Status Error from dict
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/code: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/code, value changed: new value is: 4004
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/code: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/message: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/message, value changed: new value is: Bad Gateway
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/message: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/group: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/group, value changed: new value is: 3
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/group: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/info: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/info, value changed: new value is: Something went wrong. Please try to re-login. If the problem persists, please contact our support.
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/info: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/timestamp: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/timestamp, value changed: new value is: 2023-02-28 11:44:25+00:00
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/timestamp: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/retry: Notify called with flags: ObserverEvent.ENABLED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:weconnect_mqtt_base:weconnect/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/retry, value changed: new value is: True
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/domains/oilLevel/oilLevelStatus/error/retry: Notify called with flags: ObserverEvent.UPDATED_FROM_SERVER|VALUE_CHANGED for 1 observers
2023-02-28T12:44:25+0100:DEBUG:addressable:/vehicles/WVWZZZ3CZME111111/controls: Notify called with flags: ObserverEvent.ENABLED for 1 observers

Yes, the volkswagen backend is not yet configured to provide that information. Same for the 12V Battery. I expect it to work in the future.