Hi,
We are trying to use code based linking authentication to link the amazon account in our sample app. We are trying this sample app on android smartphone but eventually it will go into custom android based device. We are able to get the user code and code verification URL using the flow described in the URL
https://developer.amazon.com/docs/alexa-voice-service/code-based-linking-other-platforms.html
However when we try to authenticate this code on a separate device using browser we get the error as "We are sorry an error occurred when we tried to process your request. Rest assured, we are already working on the problem and expect to resolve it shortly"
Following is our scope_data json
{"alexa:all":"{\"productID\":\"Alexa_CBL_Product\",\"productInstanceAttributes\":{\"deviceSerialNumber\":\"38:2D:D1:1E:E5:5E\"}}"}
And total request body is as below:
response_type=device_code&client_id=<our_account_client_id_obtained from_developer_console_using_code_based_linking_for_other_platforms>≻ope=alexa%3Aall≻ope_data=%7B%22alexa%3Aall%22%3A%22%7B%5C%22productID%5C%22%3A%5C%22Alexa_CBL_Product%5C%22%2C%5C%22productInstanceAttributes%5C%22%3A%7B%5C%22deviceSerialNumber%5C%22%3A%5C%2238%3A2D%3AD1%3A1E%3AE5%3A5E%5C%22%7D%7D%22%7D
Let us know if we are missing something.