xraver / mercedes_me_api

Script to use Mercedes Me APIs.
MIT License
58 stars 14 forks source link

New Auth Method - Refresh Token #36

Closed amigauser1 closed 1 year ago

amigauser1 commented 1 year ago

If I'm right the URL for the token refresh (in mercedes_me.api.sh) is still the old one (id.mercedes...). Only the URL for retrieving the initial token ist the new one. This does not work. Refresh also needs the new URL.

xraver commented 1 year ago

You are right. Let me fix it

Il Mer 23 Nov 2022, 12:06 amigauser1 @.***> ha scritto:

If I'm right the URL for the token refresh (in mercedes_me.api.sh) is still the old one (id.mercedes...). Only the URL for retrieving the initial token ist the new one. This does not work. Refresh also needs the new URL.

— Reply to this email directly, view it on GitHub https://github.com/xraver/mercedes_me_api/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJM7A5DDQ4F6G4LZUUXYRTWJZFI3ANCNFSM6AAAAAASJF7BJY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

amigauser1 commented 1 year ago

Thanks :-)

amigauser1 commented 1 year ago

Another Question: I'm fetching data every 10 Minutes using the standalon shell skript. After ~8h I get the error "Offline session already modified". I have to fetch an initial Token then. I didn't find anything about this error on the Me-Developer Page or in the Web. Do you have an idea what could cause it. This happens since the new Auth-Method (beginning of November). Before everything was fine.