question

kishan avatar image
kishan asked

Update Small Icon Url and Large Icon Url using SMAPI

We have used 'ask-smapi-sdk' in the backend to dynamically update skill distribution details. So far we have got success in update but due to some reason we are not able to update small Icon and Large Icon in the distribution details. Below is the code that we are using to update the alexa skill distribution details.

   const Alexa = require('ask-smapi-sdk');

    smapiClient: any = {};

    vendorID = 'XXXX';

    clientId = 'XXXX';

    clientSecret = 'XXX';

    refreshToken = 'XXXX'

    smapiClient = new Alexa.StandardSmapiClientBuilder().withRefreshTokenConfig(refreshTokenConfig).client();


let skillRequest = {

            "vendorId": vendorID,

            "manifest": {

                "manifestVersion": "1.0",

                "publishingInformation": reqBody.publishing_information,

                "apis": reqBody.apis,

                "privacyAndCompliance": reqBody.privacy_and_compliance,

                "permissions": reqBody.permissions,

            }

        }
const model = await smapiClient.createSkillForVendorV1(skillRequest);


In the "publishingInformation" inside "locales" we are passing "smallIconUri" & "largeIconUri" as per the documentation but its not getting updated.


can anyone help ?






alexa skillssmapi
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andy Whitworth avatar image
Andy Whitworth answered

Have you verified that the icons meet the Amazon requirements ? i.e. are publicly accessible and are of the correct dimensions (large 512x512px, small 108x108px).


1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Yes, we have verified that. Image is accessible to public and have proper size
0 Likes 0 ·
kishan avatar image
kishan answered

I figured out the issue. ACL was not enabled.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.