-
Notifications
You must be signed in to change notification settings - Fork 1
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
No condition field provided when calling condition API #91
Comments
adityac95
changed the title
No condition field provided when calling this function
No condition field provided when calling condition API
Nov 29, 2023
Hi @adityac95 , Can you provide the surrounding context code as well? Is it in an async function? |
Yes. The relevant code is:
The TypeError is raised when |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the provided code to request the next condition number if not using jsPsych:
However, though I can get the response, the
condition
field does not appear to be in the JSON. I keep getting the error "Cannot read properties of undefined" when I use the valueresponse.condition
to index into an array of four elements.The text was updated successfully, but these errors were encountered: