Skip to content
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

Misleading error response when Mapper Code is empty (Custom Search API definition) #960

Closed
wrigleyDan opened this issue Feb 27, 2024 · 0 comments · Fixed by #965
Closed

Comments

@wrigleyDan
Copy link
Contributor

Describe the bug
The error message when the Javascript code for the mapper is missing is misleading. It reads Error: MapperError: Attemping to run docsMapper failed: TypeError: data is not iterable

To Reproduce
See screenshot for settings to reproduce.

Expected behavior
The error message should clearly indicate that the mapper code is missing.

Screenshots
image

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant