Hey @colymba, getting an error when trying to access the API with the token header X-Silverstripe-Apitoken. Without it, I get a token invalid error though.
Firstly, I had to change the Member model to be SilverStripe\Security\Member or it wouldn't add the token to the Member table when using the /api/auth/login, so maybe that has something to do with it.
If the token is in fact invalid, I get the proper error. It's only when the token is valid that this error happens.
Hey @colymba, getting an error when trying to access the API with the token header
X-Silverstripe-Apitoken
. Without it, I get a token invalid error though.Firstly, I had to change the
Member
model to beSilverStripe\Security\Member
or it wouldn't add the token to theMember
table when using the/api/auth/login
, so maybe that has something to do with it.If the token is in fact invalid, I get the proper error. It's only when the token is valid that this error happens.
I'm on SS 4.2.2
Config and Error trace is below.
Config:
Error log: