Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

Anush Patel avatar image
Anush Patel asked

Error saving interaction model Bad request

Hi, I am working on a alexa skill and on Alexa skills builder I can't save / build my skill with a Intent slot (Answer for a Trivia Skill) all I get is when I try is Error saving interaction model Bad request If I remove the custom intent slot (Answer) it works perfectly fine. Is this error from my side or is it a Skills Builder error?

Thanks

Anush.

alexa skills kitskillintentsskill builder
10 |5000

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

Anand@Amazon avatar image
Anand@Amazon answered

Hi Anush,

We have tried building skills using Launch Builder in our side and we have no issues. This might be a intermittent issue. Please try to build it again and see if your are getting this issue again.

Please refer below link for more details about the custom slots.

https://developer.amazon.com/docs/custom-skills/migrate-to-the-improved-built-in-and-custom-slot-types.html

If possible please share the Intent JSON file which you want to create for your skill.

3 comments
10 |5000

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

Anush Patel avatar image Anush Patel commented ·

I retried and It worked!

0 Likes 0 ·
Chris Holland avatar image Chris Holland commented ·

Hi Anand, I'm having the same problem. Are you having any issues with the Builder at the moment? I have attached the full JSON for your reference (workspace.txt).

0 Likes 0 ·
workspace.txt (1.7 KiB)
Anand@Amazon avatar image Anand@Amazon ♦ Chris Holland commented ·

Hi Chris,

Sorry for delay in response. This Skill builder still in beta stage and in development phase.

Skill builder is not capable of handling large no of intents and slot values which you can directly paste it in Intent schema box and utterance text box.

You should not get any issue with the JSON file which you mentioned here.

But let us know if you still getting this issue with skill builder.

0 Likes 0 ·
newuser-a6b4d1ac-1fbe-4090-a4f4-bf289518b633 avatar image
newuser-a6b4d1ac-1fbe-4090-a4f4-bf289518b633 answered

am also facing the same error since yesterday i guess. Havent seen this error before.

10 |5000

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

newuser-acdd5fa8-63e2-4539-a3c6-5b08cdb60c1b avatar image
newuser-acdd5fa8-63e2-4539-a3c6-5b08cdb60c1b answered

I am also having this issue, I have tried sending the model via the CLI also, but no additional error message

10 |5000

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

newuser-4d0c3eb2-3470-4bed-9e12-95c23cd5ba81 avatar image
newuser-4d0c3eb2-3470-4bed-9e12-95c23cd5ba81 answered

Hi, I have the same or at least a related issue. As soon as I add a custom slot type in Skill Builder Beta to my skill, "Save Model" will always return with HTTP 400 / "Bad Request" - no additional information provided.

10 |5000

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

nils.mueller avatar image
nils.mueller answered

i have the same problem it just worked a few minutes ago with a much smaller configuration. Any hints how it can be solved?

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.

nils.mueller avatar image nils.mueller commented ·

i just figured out, the skill builder parse empty sections of the configuration as valid but save model does not accept them.

0 Likes 0 ·
thensg avatar image
thensg answered

@nils.mueller alluded to the fix above, but to further clarify: this issue can be resolved by assigning a Slot Type to each custom slot. For example, a slot {travelDate} can be assigned the AMAZON.DATE slot type.

10 |5000

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

Anand@Amazon avatar image
Anand@Amazon answered

Hi,

As correctly mentioned by @thensg if you are using any slot in utterance text then either create a custom slot type or use in-built slot type but assign slot type but don't left it blank.

Custom slot type is mandatory field while building interaction model.

10 |5000

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

Luke avatar image
Luke answered

I am having the same problem. Did anyone find a fix?

10 |5000

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