Accessing graphql from React Native with Token

I am trying to use Apollo Client to access my Realm GraphQL, but I get an error “Error: token contains an invalid number of segments” when i use the users “accessToken”(anon-user, and they should be able to access this data). Is this happening because I am using the React Native SDK and not the web sdk? Can I use the RN SDK for this? I would prefer to use GraphQL over accessing the collection directly since it fits my app better for certain data types. Is this recommended?