Giter Club home page Giter Club logo

Comments (5)

andig avatar andig commented on May 25, 2024

Ah, request is accepted with added locale (en-US) but doesn't go through then:

{"requestStatus":null,"error":{"statusContext":"Invalid countryCode","statusCode":400,"message":"Invalid country in the request: EUR"},"lastRequested":null}

from connected-car-node-sdk.

andig avatar andig commented on May 25, 2024

Again working if I add USA instead of EUR. Not sure why. User is in Germany.

from connected-car-node-sdk.

ianjwhite99 avatar ianjwhite99 commented on May 25, 2024

Hi,

If you set the locale in the headers to "locale": "en-EU" and countryCode to "countryCode": "EUR" does the request complete successfully?

from connected-car-node-sdk.

ianjwhite99 avatar ianjwhite99 commented on May 25, 2024

I'm located in the US and I haven't gone through the process of creating accounts for different countries/regions.

from connected-car-node-sdk.

andig avatar andig commented on May 25, 2024

If you set the locale in the headers to "locale": "en-EU" and countryCode to "countryCode": "EUR" does the request complete successfully?

Nope, neither:

Countrycode: EUR
Locale: en-EU

gives

{"requestStatus":null,"error":{"statusContext":"Invalid countryCode","statusCode":400,"message":"Invalid country in the request: EUR"},"lastRequested":null}

Only this working is en-US with USA. That does seem to work though.

UPDATE

Finally found https://github.com/TA2k/ioBroker.ford/search?q=Countrycode. Which has also working de-DE with DEU:)

from connected-car-node-sdk.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.