10-11-2022 04:14
10-11-2022 04:14
Hi - I have received the approval to access intraday data via the web API, in using our assigned client ID and secret, we get the following response:
{
"errorType": "Runtime.UnhandledPromiseRejection",
"errorMessage": "Error: Incorrect argument type to variable 'time_zone'",
"trace": [
"Runtime.UnhandledPromiseRejection: Error: Incorrect argument type to variable 'time_zone'",
" at process.<anonymous> (/var/runtime/index.js:35:15)",
" at process.emit (events.js:400:28)",
" at process.emit (domain.js:475:12)",
" at processPromiseRejections (internal/process/promises.js:245:33)",
" at processTicksAndRejections (internal/process/task_queues.js:96:32)"
]
}
Has anyone encountered this error? any suggestions are appreciated, thank you!
10-14-2022 18:17
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
10-14-2022 18:17
Hi @Awharton_Tech,
Welcome to the forums!
I'm not familiar with the error you're seeing. Could you please run me through the process leading up to this error? Is this occurring when a user is authorizing? or when you're making a request to a user?
Best Answer