Closed natrixx closed 5 years ago
Hey @natrixx Thanks for the finding. Seems like they changed the API error codes again. Will be fixed until Monday!
I am having a similar issue with getting the device address from Alexa. The object that is returned contains null values for the address and only contains the country and postal code, even though I request the full device address. I am testing this via the Alexa app on the phone with the permissions for the full address turned on.
@natrixx Fixed! We will make the release (with a few more changes) later this week.
@subhashnaidu
You probably accessing the CountryAndPostalCode
only. Try const address = await this.$alexaSkill.$user.getDeviceAddress();
to get the full address.
updated and tested today, seems to be fixed. Thanks @aswetlow !
You're welcome :)
I'm submitting a...
Expected Behavior
If I revoke address permission in my alexa app for my skill, when I make a request I should get
error.code === 'NO_USER_PERMISSION'
as per https://www.jovo.tech/docs/amazon-alexa/data#locationCurrent Behavior
I am instead getting
error.code === 'ACCESS_DENIED'
as seen below. This results in not being able to send the permissions card to the user.Error log
Your Environment
Jovo packages of current project: jovo-cms-i18next: 2.1.5 jovo-core: 2.1.3 jovo-db-dynamodb: 2.1.5 jovo-db-filedb: 2.1.3 jovo-framework: 2.1.5 jovo-platform-alexa: 2.1.6 jovo-platform-dialogflow: 2.1.5 jovo-platform-googleassistant: 2.1.7 jovo-plugin-debugger: 2.1.3