Bug #4344
Updated by Ward Vandewege over 9 years ago
Trying to make an anonymous token:
$ arv api_client_authorization create --api-client-authorization='{"scopes":["GET /"],"user":"su92l-tpzed-anonymouspublic"}'
Error: #<ActiveRecord::AssociationTypeMismatch: User(#19389640) expected, got String(#9218860)>
The alternative is to use the services/api/scripts/get_anonymous_user_token.rb script, but it should be possible to do this from the CLI.