-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported operand types: string + int #1485
Comments
The feed type is The feed URL (with redacted API key) is:
Here is the content of the query:
|
Hi @chadclark, thanks for all the details. |
Hi @i-just. Thanks for looking into this!
|
Thanks for the screenshots. I can now replicate the issue you're having. The root (primary) element needs to be something repeatable. To achieve this, you can, for example, wrap the entire snippet you provided in square braces like so:
The hint is in the primary element mapping screenshot. The data snippet you provided only has one movie in it, but the primary element screen shows 28 elements, which means 28 movies in your case, and that doesn't match the data you have. I hope this helps! |
Thanks for your help, @i-just. I am definitely seeing the issue now. As this is an external API source, is it possible for me to prepend the brackets via the Feed Me configuration? |
Not a problem. There are various events that you could use.
|
Thanks @i-just! This is extremely helpful! I really appreciate the guidance. |
I'm running into this same issue. In my situation, I'm trying to map to the
title
field in the root element. It previews correctly in the feed setup, but fails each time when run.In debug mode, I receive this TypeError:
Originally posted by @chadclark in #1467 (comment)
The text was updated successfully, but these errors were encountered: