API issue with oapi.get_structures_with_sets?

I’m having an issue running some code from the AllenSDK (JSONDecodeError when running oapi.get_structures_with_sets([1]) · Issue #2684 · AllenInstitute/AllenSDK · GitHub). I get a JSONDecodeError when trying to run the following block of code

from allensdk.api.queries.ontologies_api import OntologiesApi
oapi = OntologiesApi()
structure_graph = oapi.get_structures_with_sets([1])

I suspect it might be an API issue rather than an SDK issue, as I’ve had this code work perfectly fine in the past. Anyone else having this issue?

It’s working now today. Not sure what was causing the issue, though

Thank you for letting us know that it is working now.

1 Like