stoiveyp / alexa.net.profile Goto Github PK
View Code? Open in Web Editor NEWSmall helper library for Alexa.NET based skills to access the customer contact API
License: MIT License
Small helper library for Alexa.NET based skills to access the customer contact API
License: MIT License
You should add the HTTP Error Status Code to failed request calls. When the API returns a 403, that means that the requested permissions have not been applied. Developers could use this to notify the end user that the request failed due to a lack of permissions.
Hi, I'm trying to create/update a skill enabling the permission "Region And Postal Code"
The constant value for CustomerProfilePermissions.RegionAndPostalCode
is "read::alexa:device:all:address:country_and_postal_code"
However, when I use this constant to create/update a skill, I get the following error...
{
"message": "Skill manifest is not valid.",
"violations": [
{
"code": "INVALID_ENUM_VALUE",
"message": "String instance at property path \"$.manifest.permissions[2].name\" has invalid enum value: \"read::alexa:device:all:address:country_and_postal_code\".",
"validationDetails": {
"originalInstance": {
"dataType": "string",
"propertyPath": "$.manifest.permissions[2].name",
"value": "read::alexa:device:all:address:country_and_postal_code"
}
}
}
]
}
I used the API's to retrieve a skill where I have already enabled "Region And Postal Code" and the value that comes back in permission is actually "alexa:devices:all:address:country_and_postal_code:read"
When I use this value I get no issues creating/updating skill or using it in a TellWithAskForPermissionsConsentCard
response.
Could this be updated please?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.