question

Jordi PS avatar image
Jordi PS asked

ISP Buy fails with Error as purchaseResult value

Hello,

After 3 weeks of having ISP enabled on my skill, I have a high percentage of ISP Connections.Response calls that contain error.

I'm not able to find out where do those calls come from. I'm not able to get further information from the error.

This is the data I get from cloudwatch.

|         msgTime          |               msgReqId               | msgLevel |                                                                                                                                                                                   msgJson                                                                                                                                                                                    |
| 2019-12-07T21:21:44.584Z | 97d8958a-8816-4223-a290-556b2cd9907c | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.7e06afb4-2dd3-4065-8c0e-470dd1fb9894","timestamp":"2019-12-07T21:21:44Z","locale":"es-ES","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"66e4df1e-8df0-484f-8edd-82f18c3efec1"}  |
| 2019-12-04T21:37:07.129Z | bf7a7532-1847-4de1-8910-9c2d352f7b4e | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.4255648b-b33d-4d54-8ae1-c1ce8a8f1ba7","timestamp":"2019-12-04T21:37:07Z","locale":"es-ES","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"9096e75d-4de1-43ad-ae82-46e7ccc5b471"}  |
| 2019-12-08T20:01:25.701Z | 55364238-f2ab-44e2-8e00-012b2e2b69d7 | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.f8a59cd0-36b8-4db0-9948-9e20351090f6","timestamp":"2019-12-08T20:01:25Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"7ce80013-fc5d-41a8-9e95-b80d2b577235"}  |
| 2019-12-08T22:31:04.286Z | 8975f794-f9aa-42c1-acac-e704d2059e1e | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.924f196e-3f91-4e53-a03b-473559254684","timestamp":"2019-12-08T22:31:04Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"b9e63444-e240-4e77-9968-d373612e571c"}  |
| 2019-12-01T14:09:11.942Z | 6c29ee22-6831-42a1-aa4e-710e5c5eb674 | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.566b0d2d-fedb-45e4-843a-7f44052e3e71","timestamp":"2019-12-01T14:09:11Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"9b20444e-1e44-4eba-9987-67ad7f7e2910"}  |
| 2019-12-07T01:27:27.476Z | e72b373d-6d78-4560-b173-a588a8995c95 | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.73fd1f28-f925-47a8-9689-f6a409001475","timestamp":"2019-12-07T01:27:27Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"bec3adfa-6bd5-4b57-9b51-201a08c7dd65"}  |
| 2019-12-08T22:22:14.787Z | 51fa90d6-b1ee-4713-8b7d-08387052fead | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.60756c28-bee7-42da-8b94-89670b16477c","timestamp":"2019-12-08T22:22:14Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"70103ea7-177f-4106-8e01-e28fe3893d18"}  |
| 2019-12-08T05:42:19.143Z | 28479666-b649-4e6e-a8bd-0c3a7f2de7f3 | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.cb10bc44-713d-4d74-868f-6b3672e6ba3c","timestamp":"2019-12-08T05:42:19Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"433fc615-492e-49f2-ab15-92567fa45843"}  |
| 2019-11-29T23:58:52.681Z | 9b2490cd-8d4d-4960-bf12-73cfb3ffb4bb | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.3cd1afa5-eea7-41a6-9c09-9e8c1787a25b","timestamp":"2019-11-29T23:58:52Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"130e7f6d-2b53-4689-b435-917ecfbb2b12"}  |
| 2019-11-30T19:42:44.838Z | 1c1373d2-be44-479e-a0c2-7a7c83cae1fb | INFO     |  {"type":"Connections.Response","requestId":"amzn1.echo-api.request.f498a01b-cb2f-4c12-b87a-6c1d78244462","timestamp":"2019-11-30T19:42:44Z","locale":"es-US","status":{"code":"200","message":"OK"},"name":"Buy","payload":{"purchaseResult":"ERROR","productId":"amzn1.adg.product.6f1babdf-b2bc-4b1d-9847-0c64b43f432c"},"token":"3aec55f5-d6c2-4032-8dfb-da6c5223e8f5"}  |

Could you please provide some documentation on how to reproduce the issue. Any tips on how to avoid it?


Thanks,

Jordi

alexa skills kitalexa
10 |5000

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

1 Answer

Rokas avatar image
Rokas answered

This is problem not on your side, but rather on amazon side or user side. For example ISP service failed or user purchase information is missing. You shouldn't worry about this and handle this as if something went wrong on amazon side. You can read more tips here in the docs.

10 |5000

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