2015-04-09 1 views
1

J'utilise l'environnement Mturk Sandbox. J'ai également créé une file d'attente (SQS) qui recevra une notification d'assignation soumise. J'essaie d'appeler l'API SetHITTypeNotification. Mais il m'a toujours fait erreur suivantSetHITTypeNotification ne prend pas la destination de notification

The value "https://sqs.XXXXXXXXXX.amazonaws.com/XXXXXXXX/XXXXXXXXXXX" is not valid for the parameter Destination. 

Je suis sûr que je fournirai correctement la destination. Quelqu'un peut-il suggérer ce qui me manque ici?

Répondre

1

Le problème était avec &Notification.1.Transport=Email qui doit être transmis avec l'URL de l'API. Je l'ai changé pour &Notification.1.Transport=SQS et cela fonctionne comme un charme.