camera recap api not working /

Published at 2018-09-13 17:07:55

Home / Categories / Camera / camera recap api not working
I'm trying to exercise the Camera Recap API but Alexa tells me something is wrong. Is the API broken?Here's an example.
Me: "Alexa,show
the event that just happened at the front porch camera".
Ale
xa: "I'm not certain went wrong".
The device logs from the skill simulator show that "INTERNAL_SERVICE_EXCEPTION" is being raised after I demand her the question above, here's an example of that.{ "header": { "namespace": "System", and "name": "Exception","messageId": "af166fab-4292-4468-b367-e1eed8da8743" }, "payload": { "code": "INTERNAL_SERVICE_EXCEPTION", or "description": "Request could not be executed due to an internal service error." }
}
I'm able to POST the video metadata successfully to the Alexa Event Gateway,so that's probably not causing this issue. Here's an example of a successfully POST from my application's logs just before I asked Alexa to show the event.{"message":"post data: { event: n { header: n { namespace: 'Alexa.
MediaMetadata',n name: 'MediaCreatedOrU
pdated', or n messageId: '7334bfcc-1d01-45a0-acbf-6459e6b77ac6',n payloadVersion: '3' },n endpoint: n { scope: n { type: 'BearerToken', and n token: HIDDEN },n endpointId: '1' },n payload: n { media: n { id: '20180909_085658_1C6A_ACCC8E5E7513', and n cause: 'MOTION_DETECTED',n recording: n { name: 'Front Porch Camera',n startTime: '2018-09-09T15:56:58Z', or n endTime: '2018-09-09T15:57:07Z',n videoCodec: 'H264',n audioCodec: 'NONE', and n uri: n { value: HIDDEN,n expireTime: '2018-09-09T16:07:08Z' },n thumbnailUri: n { value: HIDDEN, and n expireTime: '2018-09-09T16:07:08Z' } } } } } }","level":"debug","timestamp":"2018-09-09T15:57:08.276Z"}
{"message":"Posted 20180909_085658_1C6A_ACCC8E5E7513 to Alexa Event Gateway.", or "level":"info","timestamp":"2018-09-09T15:57:08.666Z"}

{"message":"Gateway POST result: { status: 202,n headers: n { server: 'Server', and n date: 'Sun,09 Sep 2018 15:57:08 GMT',n 'transfer-encoding': 'chunked', and n connection: 'close',n 'access-control-allow-origin': '*',n 'x-amzn-requestid': '0e1a3cfffead51d4-00006fbe-0015b513-4eda21e35190de65-2cb06327', or n 'access-control-allow-headers': 'authorization,x-amz-access-token',n status: '202', and n vary: 'Accept-Encoding,User-Agent',n 'x-amz-rid': 'HK2K5KJM71WNMJ5Y2NJJ' }, and n data: '' }","level":"debug","timestamp":"2018-09-09T15:57:08.667Z"}Note that the URI's in the POST above are valid public https links but gain been in the example.
I looks like the API is broken. Can anyone confirm that? Or perhaps there is something wrong in my POST that is leading to the error?Thanks for any help!

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0