tonesto7 / fordpass-scriptable

FordPass Widget for Scriptable
GNU General Public License v3.0
166 stars 27 forks source link

Cannot get Widget to load. Nothing happens. #115

Open CommittotheIndian opened 2 years ago

CommittotheIndian commented 2 years ago

I have tried to install this on my iPhone, Mac, my iPad, and my wife's iPhone. I have tried my account, her account, and a secondary account for me. I have reset the instance, deleted the script, deleted scriptable, logged out of FordPass, changed passwords for FordPass, and power cycled the device.

Every attempt tends to end with the same last two lines:

2022-07-13 13:30:06: makeFordRequest Error: JSON Parse error: Unexpected identifier "Error" 2022-07-13 13:30:06: makeFordRequest(getVehicleStatus) Error: SyntaxError: JSON Parse error: Unexpected identifier "Error"

Besides a Master Reset of my Mach E Sync 4, what else have I not tried?

CommittotheIndian commented 2 years ago

I have now completely removed all connects to my vehicle and completed a master reset of my vehicle (deleting all data).

I continue to get the same error.

ziptbm commented 1 year ago

@tonesto7 I'm seeing this same error. Any ideas about what's causing it and/or if there's a workaround?

basilisk487 commented 1 year ago

I am getting the same error, and it looks like it's some kind of disconnect during getJwtToken part of the authorization flow. It goes to https://sso.ci.ford.com/v1.0/endpoint/default/authorize -> 302 to https://sso.ci.ford.com/idaas/mtfim/sps/idaas/login -> 302 to https://sso.ci.ford.com/authsvc/mtfim/sps/authsvc, and this is where the disconnects - the app expects yet another 302 to extract a JWT token from the following response, but in my case the API returns a HTTP 200 with an empty body, so it ends up stuck in an endless loop of authorization attempts. Interestingly enough, it doesn't lock me out of my account. Have no idea how to even proceed from there :(

CommittotheIndian commented 1 year ago

I am getting the same error, and it looks like it's some kind of disconnect during getJwtToken part of the authorization flow.

It goes to https://sso.ci.ford.com/v1.0/endpoint/default/authorize -> 302 to https://sso.ci.ford.com/idaas/mtfim/sps/idaas/login -> 302 to https://sso.ci.ford.com/authsvc/mtfim/sps/authsvc, and this is where the disconnects - the app expects yet another 302 to extract a JWT token from the following response, but in my case the API returns a HTTP 200 with an empty body, so it ends up stuck in an endless loop of authorization attempts.

Interestingly enough, it doesn't lock me out of my account. Have no idea how to even proceed from there :(

I haven't been locked out but it does lock my wife out every time I try to use her phone and her account.

kayyovx commented 1 year ago

Same issue, been over 2 weeks with this issue. Not sure what’s going on.