dbayer
1
Hello,
Has there been a change in how to format the API token when making API Calls?
I was using it just fine in 4.6, but when I try it in 4.7, I’m getting Forbidden errors.
I believe it should be a Header Authorization formatted like below.
“Authorize” : “Token aa33bb33cc33dd44ee44”
Thanks,
Daniel
Hi,
Looking at the release notes and the git log there does not appear to be any REST API change. Try obtaining a new token:
https://docs.mayan-edms.com/apps/rest_api/index.html#api-tokens
dbayer
3
I’ve tried that. I’ll try again, maybe I messed up a step.
dbayer
4
Is it possible the force the token to be recreated?
Every time I call for a token it’s the same one.
dbayer
5
This whole issue was from a mistake I made.
I forgot to assign the user group to a role. Once I did that, everything worked.
1 Like
Thanks for the follow up!
1 Like
system
Closed
7
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.