# \[APP\]\[Pro\] Mercedes Me App (Release 1.0.3)

**URL:** <https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414>\
**Category:** Apps\
**Tags:** homey-pro\
**Created:** [April 18, 2021, 5:18pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414 "2021-04-18T17:18:48Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 12, 2023, 10:28am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/226 "2023-04-12T10:28:01Z")

</div>

Thank you so much for the quick anwser.

Yeah. I copied and pasted the keys.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [April 12, 2023, 10:52am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/227 "2023-04-12T10:52:12Z")

</div>

Have you allowed the third party access in your Mercedes Me account?  
I can’t remember where or how, and I might have dreamed it, but I seem to remember there was something. Unfortunately, as I no longer have a Mercedes I can’t check that.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 12, 2023, 12:06pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/228 "2023-04-12T12:06:48Z")

</div>

First of all, I reiterate my gratitude.

I am aware that he no longer has a Mercedes and I don’t know if someone will take over the app.

I have been checking the Mercedes Me portal, like the Mercedes Developers page and I can’t find anything about third party authorization.

I will keep investigating.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [April 12, 2023, 12:17pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/229 "2023-04-12T12:17:34Z")

</div>

Something in the back of my mind says it was in the section where you enable / purchase services such as remote unlocking. It’s also possible that was for the old API that was used by Alexa, etc.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 12, 2023, 2:52pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/230 "2023-04-12T14:52:29Z")

</div>

I have found in the instructions this image that I attached. I think that is what he is referring to.

The problem is that I don’t know where to find that web page to authorize third parties.

According to the instructions it says:

authorization  
Exchange your credentials for an access token within the OAuth process and give consent to access data from your car.

Note: The Mercedes me ID you enter here must be the same you used to log in to the Mercedes-Benz /developers portal.

 ![log](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/8152ad5e3df1fce0dd87bb082ccaff442a87022d.jpeg)

---

<div class="post-metadata">

**Author:** ![drao](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drao/32/59679_2.png) [@drao](https://community.homey.app/u/drao)\
**Post date:** [April 25, 2023, 7:18am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/231 "2023-04-25T07:18:23Z")

</div>

Just installed the app and configured as per initial forum post. Took less than 5min. Works brilliant 🙂 Mercedes page changed slightly but works pretty similar to original description

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 27, 2023, 2:46pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/232 "2023-04-27T14:46:28Z")

</div>

Hello @drao

Could you put some instructions on how you did it?

In my case it always says Internal Server Error - Login error.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 27, 2023, 3:59pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/233 "2023-04-27T15:59:09Z")

</div>

Hello @Adrian_Rockall

Consulting the possible error with Mercedes, it tells me this:

Please note that all our BYOCAR products only work with the OAuth flow not the Client credential flow!

Could it be that it doesn’t work with the URL [https://callback.athom.com/oauth2/callback](https://callback.athom.com/oauth2/callback)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 27, 2023, 4:33pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/234 "2023-04-27T16:33:03Z")

</div>

Hello.

Now when the app tries to identify itself, I get this new warning. Sorry for so many answers.

And thanks again for your help.

 ![Screenshot_20230427_182930](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/a/8adc1a2429149e304ac34eb86dce7bc6c7abe989.jpeg)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [April 27, 2023, 5:27pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/235 "2023-04-27T17:27:32Z")

</div>

The app uses OAUTH2 and the URL is required for the OAUTH2 call back.  
The credentials you create on the Mercedes website are used for the token and secret parts of the OAUTH2 protocol. These are passed on to the Mercedes login page and used to validate you. Providing everything is good, an access token and refresh token are returned via the callback. The access token is used during each API call and the refresh token is used to get a new pair of tokens when the access token expires.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [April 27, 2023, 5:31pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/236 "2023-04-27T17:31:08Z")

</div>

I presume you entered that URL when setting up the details as described in the first post?

---

<div class="post-metadata">

**Author:** ![Angel\_Escudero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/angel_escudero/32/13512_2.png) [@Angel\_Escudero](https://community.homey.app/u/Angel_Escudero)\
**Post date:** [April 28, 2023, 10:27am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/237 "2023-04-28T10:27:10Z")

</div>

Hello @Adrian_Rockall

Yes. I have used the address and instructions above, but still the same.

I do not want to bother you anymore. It will be my problem or I don’t know (I don’t have enough knowledge of where the error can be).

I have written to Mercedes again to answer several questions that they asked me, but they have told me that they cannot help me and that the error is in the application.

But, on the other hand, there are users who work correctly.

I will repeat the steps described on your first page.

Thank you so much.

---

<div class="post-metadata">

**Author:** ![Christian\_Klauser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian_klauser/32/58189_2.png) [@Christian\_Klauser](https://community.homey.app/u/Christian_Klauser)\
**Post date:** [May 23, 2023, 3:11pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/238 "2023-05-23T15:11:41Z")

</div>

I struggled with this for awhile, but it was the VIN-Number that was misstyped… (somehow)  
I copied it from [Dashboard](https://www.mercedes-benz.se/passengercars/my-area/my-dashboard/vehicle-dashboard.html) and then it worked.

---

<div class="post-metadata">

**Author:** ![PinoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pinov/32/6321_2.png) [@PinoV](https://community.homey.app/u/PinoV)\
**Post date:** [May 23, 2023, 7:46pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/239 "2023-05-23T19:46:19Z")

</div>

For me it was working last year. Since 6-7 months ago it stopped.  
Now I created a new project ID, new secret.  
Stil get the server error

 ![Screenshot 2023-05-23 at 21.43.58](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7ba43b75dd3146427e35037edd4c1059cf50c8ba.png)

---

<div class="post-metadata">

**Author:** ![PinoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pinov/32/6321_2.png) [@PinoV](https://community.homey.app/u/PinoV)\
**Post date:** [May 25, 2023, 11:35am UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/240 "2023-05-25T11:35:25Z")

</div>

I also contacted Mercedes and they point me to:

> **[Mercedes–Benz /developers – The API platform by Mercedes‑Benz](https://developer.mercedes-benz.com/content-page/oauth-documentation#)**
>
> We make our API products available to encourage the development of innovative business models.
> Join us in driving digital progress in the automobile industry.

In which they highlight the ‘openid’ scope  
From what I can see this is not something I can do myself.  
So hope Adrian still can help here, although he does not have an MB anymore. The more we appreciate the help

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 25, 2023, 5:26pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/241 "2023-05-25T17:26:16Z")

</div>

Already in there:  
static SCOPES = [‘openid’, ‘offline\_access’, ‘mb:vehicle:mbdata:vehiclestatus’, ‘mb:vehicle:mbdata:evstatus’, ‘mb:vehicle:mbdata:fuelstatus’, ‘mb:vehicle:mbdata:payasyoudrive’, ‘mb:vehicle:mbdata:vehiclelock’];

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 25, 2023, 5:29pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/242 "2023-05-25T17:29:17Z")

</div>

Have you updated the app to the latest version as Mercedes changed the API about 7 months ago I published a new version then to work with it.

---

<div class="post-metadata">

**Author:** ![PinoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pinov/32/6321_2.png) [@PinoV](https://community.homey.app/u/PinoV)\
**Post date:** [May 25, 2023, 6:01pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/243 "2023-05-25T18:01:52Z")

</div>

Tnx Adrian!  
App is v1.0.3 so that should be ok.  
Complete url I get back is:

```auto
https://ssoalpha.dvb.corpinter.net/v1/callback?error_description=The+requested+scope+is+invalid%2C+unknown%2C+malformed%2C+or+exceeds+that+which+the+client+is+permitted+to+request.&state=q35iava36nuyypurrsikj265c&error=invalid_scope#

```

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [May 25, 2023, 7:58pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/245 "2023-05-25T19:58:32Z")

</div>

Ignore my last post (deleted) as I was looking at the wrong branch.  
Can you confirm you have setup the project like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48b81a19bc5a233a56672c450d344cfb345c0cfd.png)

---

<div class="post-metadata">

**Author:** ![PinoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pinov/32/6321_2.png) [@PinoV](https://community.homey.app/u/PinoV)\
**Post date:** [May 25, 2023, 8:20pm UTC](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414/246 "2023-05-25T20:20:01Z")

</div>

Yes, looks like that. Shorter list, but that should not matter?

 ![Screenshot 2023-05-25 at 22.18.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20a7b974bf4a7a8bd5d9dfa182f66c6b2bbf0d5b.png)

[Previous page](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414.md?page=11)

[Next page](https://community.homey.app/t/app-pro-mercedes-me-app-release-1-0-3/46414.md?page=13)
