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

Texts API: Contemporary Halakhic Problems requires chapter name #721

Open
MichaelJBerk opened this issue Dec 19, 2021 · 0 comments
Open

Comments

@MichaelJBerk
Copy link

When trying to use the Texts API to get the text from any volume of Contemporary Halakhic Problems without a chapter name, it doesn't return the first section of the text like it should. Instead, the API gives the error "Can not pad a schema node ref".

Sample URL: https://www.sefaria.org/api/texts/Contemporary_Halakhic_Problems,_Vol_I

If using pad=0 to return the entire book, the API instead returns the error "Can not get TextFamily at this level, please provide a more precise reference"

https://www.sefaria.org/api/texts/Contemporary_Halakhic_Problems,_Vol_I?pad=0

If I include the name of a chapter, it works fine:

https://www.sefaria.org/api/texts/Contemporary_Halakhic_Problems,_Vol_I,_Editor's_Foreword

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

No branches or pull requests

1 participant