Getting a 500 NullPointerException error when retrieving the Scaffolding Structure via API