question

Daniel Koller avatar image
Daniel Koller asked

File on S3 is available, but not requested and skill delivers an error

Hi,

my flash briefing should read a file from S3.

The file is formatted in JSON, the file ( https://s3.amazonaws.com/dpalexadata/dlfnachrichten.json ) is readable for the world and still... Echo tells me that my flash briefing is not available.

Strangely, I don't even see an http access request in my S3 logs, where I should expect this. Any idea?

Kind regards,

Daniel

alexa skills kitskillflash briefing
10 |5000

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

April L. Hamilton avatar image
April L. Hamilton answered

Check your code. If there are any errors in it, such as a missing comma or quotation mark, this is the default/generic error you'll get.

2 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.

Daniel Koller avatar image Daniel Koller commented ·

in the mean time s3 logs shouw accesses... is there any way to check corrctness of a flash briefing result?

0 Likes 0 ·
April L. Hamilton avatar image April L. Hamilton Daniel Koller commented ·

It's not the flash briefing result that's likely causing the problem, it's the text of your code. It never gets to deliver a result because Alexa refuses to parse the code at all.

1 Like 1 ·
newuser-df6b1595-379a-4002-af67-91326dd234c6 avatar image
newuser-df6b1595-379a-4002-af67-91326dd234c6 answered

This makes no sense. If JSON content is output from that public URL, then what code are you referring to? Alexa makes a request to the public URL, and a valid JSON result is returned, so where in this process is the "code" that Alexa is supposedly refusing to parse? She is not accessing code, she is simply making a request to a feed to spits out JSON.

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-0afacfc2-9ca9-466b-b723-c77c8aaa8235 avatar image
newuser-0afacfc2-9ca9-466b-b723-c77c8aaa8235 answered

I seem to have the same issue. No matter what I do, I just get the generic error message that I setup in the skill.

10 |5000

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

Nick Gardner avatar image
Nick Gardner answered

What region are you in? I've seen several issues here with EU region flash briefing skills.

2 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.

Daniel Koller avatar image Daniel Koller commented ·

Hi Nick...no it works. I had issues in my JSON content.

Next stop: how can I develop and check a german-speaking flash briefing skill?

kr, daniel

0 Likes 0 ·
Nick Gardner avatar image Nick Gardner ♦♦ Daniel Koller commented ·

I don't think flash briefing skills are available in German at this time.

0 Likes 0 ·