tejashah88 / node-alexa-smapi

A node.js client library for using the Alexa Skill Management API.
MIT License
13 stars 3 forks source link

Can't update Skill-Icons #13

Closed StefanV85 closed 5 years ago

StefanV85 commented 5 years ago

Hello,

The API Works fine, i can create and update skills and the interaction model. But unfortunately i can't update icons.

i uploaded my new icon to Amazon S3. Made the URL Public. The Size are 108x108 & 512x512. But if i try to update the icons, the update returns success, but the update is completly ignored. Not only the update of the icons, also the update of other fields... if i comment out the icon stuff, the update is executed successfully, and the updates can be shown in the developer console.

`
var oTargetSkillManifest = await mySmapiClient.skills.getManifest(aConfigs[i].sSkillID, sStageDevelopment); oTargetSkillManifest.manifest.publishingInformation.locales['de-DE'].name = sNewName; oTargetSkillManifest.manifest.publishingInformation.locales['de-DE'].smallIconUri = sSmallIconUrl; oTargetSkillManifest.manifest.publishingInformation.locales['de-DE'].largeIconUri = .sLargeIconUrl; var oTargetSkill = await mySmapiClient.skills.update(aConfigs[i].sSkillID, sStageDevelopment, oTargetSkillManifest.manifest);

is it maybe an bug, or do i have to speficy/upload my images in a special way?

Kind Regards Stefan `

StefanV85 commented 5 years ago

It was my Issue. The Format must be png. JPG is not supported by SMAPI