For some reason, I cannot seem to post in the Bug Reports section on the DevForum.
Either way, I am interfacing with the Groups API specifically endpoint /v2/groups. There seems to either be an issue with the documentation or an issue with the response. It states on the documentation that memberCount should be returned, however after endless testing it doesn’t seem to be returned.
I don’t see a more applicable category for this but if anyone could give me directions to more advanced support that would be fabulous.
Check your response.data.data indexing. I think you want to index response.data[0] instead, but it’s hard to say. I recommend just logging console.log(response.data) that should spit out what the structure o the actual data you’re getting back is.
I think with Axios you may need to also specify that you want it to decode with JSON, you might be getting a string back instead.