The Alexa APIs for NodeJS consists of JS and Typescript definitions that represent the request and response JSON of Alexa services. These models act as core dependency for the Alexa Skills Kit NodeJS SDK (https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs).
the method updateAccountLinkingInfoV1 is not working, the server returns such error:
{
statusCode: 400,
body: '{"message":"Account linking information is not valid.","violations":[{"code":"INVALID_REQUEST_PARAMETER","message":"Parsing error due to empty body.","validationDetails":{"originalInstance":{"type":"BODY"},"reason":{"type":"EXPECTED_NOT_EMPTY_VALUE"}}}]}',
headers: [...]
}
after some investigation, I've found that this method sends the data in the body in the wrong format:
the method
updateAccountLinkingInfoV1
is not working, the server returns such error:after some investigation, I've found that this method sends the data in the body in the wrong format:
but the correct request should contain linking data in the
accountLinkingRequest
field: