Open vswee opened 1 year ago
Thank you for adding the eu server . Still can not get this to recognise my fresh element. Logs telling me I have the wrong phone number .
Thank you for adding the eu server . Still can not get this to recognise my fresh element. Logs telling me I have the wrong phone number .
Hi @killi23! Try to correct ./lib/petkitopenapi.js file within method "async request...". If one changes attributes like "X-TimezoneId" and "X-Locale", everything should be fine, successfully tried it by myself earlier. For example, I've switched it this way:
Also if problem still exists, you could try to handle the access_token part like this more manual solution:
let access_token = this.tokenInfo.id || 'your-numeric-alphabetic-access-token'
Provides correct url endpoint for Europe