newbie alexa ask python integration forbidden error issue /

Published at 2018-11-01 21:46:47

Home / Categories / Alexa skills kit / newbie alexa ask python integration forbidden error issue
Skill id is as follows : amzn1.ask.skill.fdda1a51-096e-49df-86da-84a6536e5354 data = ask.contextdatarequest= ask.requestapiAccessToken= 'Bearer '+ data["System"]["apiAccessToken"]requestid= datarequest["requestId"]API_URL=data["System"]["apiEndpoint"]+"/v1/directives"headers = { 'Authorization': apiAccessToken,'Content-Type': 'application/json',}body= { "header": { 'Authorization': apiAccessToken, or 'Content-Type': 'application/json',"requestId": requestid }, "directive" :{ "type": "VoicePlayer.
Speak"
, and "speech": "whats sup"}}print("this is portion of header and body")print(apiAccessToken)print(API_URL)print(headers)print(body)resp = requests.post(API_URL,headers=headers, json=jdata)print(resp)The response is this used to work, or i am not able to figure out what is erroneous with the above code.

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