Search code examples
node.jsamazon-web-servicesamazon-personalize

ResourceNotFoundException: The given campaign does not exist AWS Personalize


When I'm trying to get recommendations from PersonalizeRuntime got an error : ResourceNotFoundException: The given campaign does not exist: [campaign arn] But this campaign exists and works on local environment and different EC2 instance with backend wrote on Node.js. Any Ideas what I can missed?


Solution

  • My suggestion would be to examine all your AWS-related configuration variables. You could be trying to access the campaign from a different region or profile which would make it invisible to your code.