Skip to content

can't create foxden write token #41

@ksg52

Description

@ksg52

I have some records I would like to submit to the production server via CLI, but I am unable to generate a write token. Here's what I tried and the result I got:

[ksg52@lnx201 ~]$ kinit ksg52@CLASSE.CORNELL.EDU
Password for ksg52@CLASSE.CORNELL.EDU: 
[ksg52@lnx201 ~]$ klist
Ticket cache: KEYRING:persistent:2796:2796
Default principal: ksg52@CLASSE.CORNELL.EDU

Valid starting       Expires              Service principal
02/13/2026 16:30:31  02/14/2026 16:30:27  krbtgt/CLASSE.CORNELL.EDU@CLASSE.CORNELL.EDU
[ksg52@lnx201 ~]$ foxden token create read
[ksg52@lnx201 ~]$ foxden token create write
status              : error
error               : User ksg52 with scope write is not allowed, user btrs=[shanks-4838-a shanks-4838-b lamberso-4806-a sangid-4554-b test-demo shanks-4261-c das-4549-a shanks-4519-a nygren-4125-a shanks-4261-b shanks-4506-a berman-4456-a sobhani-3918-d nair-4000-b shanks-3731-d swanson-4340-a yeung-4228-b test-123-a wolford-4169-a shanks-3731-c shanks-4261-a fleischauer-4169-a shade-3888-c shanks-4093-a shanks-4092-a shade-3888-b sobhani-3918-a berman-3804-a pagan-4626-a zang-4694-a vatamani-4662-a weber-4314-b voisin-4783-a pagan-4619-a faber-3417-d carolina-4560-a brand-4636-a polk-4372-b lim-4252-b das-4499-b bertsch-4570-a maass-4268-b lim-4639-a hoseini--4616-a thom-lev-4578-a preisler-4321-b tasan-4629-a dantin-4853-a sangid-4573-b brugger-4719-a nygren-3716-f shade-4133-b budrow-4858-a nygren-3716-e pagan-4120-b detor-4508-a nygren-4688-a pokharel-4348-a perez-4710-a miller-3830-d gustafso-4474-b] groups=[hpvx2-remote Users x-cite lnx-id1a3-2-remote hassani-3477-d sangid-3915-a hedstrom-3751-b xiao-3945-a capolungo-3850-a x1trusted x1remote id3atrusted id1a3remote-analysis id1a3trusted x1staff id3astaff id1a3staff ae-pc-remote ae-pc-remote-m chexsfastuser-m chexsfast-m chexsfastuser rams4remote id1a3remote id3aremote-m id3aremote cclfremote cclfslg cclfslg-m chs_det_sim cclfremote-m invoice_admin chess_hmf chess1a3user chexsfast chess classeuser]
projection          : <nil>
sql                 : 
idx                 : 0
limit               : 0
sort_keys           : <nil>
sort_order          : 0
query               : 
spec                : <nil>
nrecords            : 0
records             : <nil>
timestamp           : 2026-02-13 16:30:47.458647461 -0500 EST m=+21821.647627372
http_code           : 400
service_code        : 144
service             : Authz
2026/02/13 16:30:47 ERROR: Unable to obtain valid token, Auth service response map[error:User ksg52 with scope write is not allowed, user btrs=[shanks-4838-a shanks-4838-b lamberso-4806-a sangid-4554-b test-demo shanks-4261-c das-4549-a shanks-4519-a nygren-4125-a shanks-4261-b shanks-4506-a berman-4456-a sobhani-3918-d nair-4000-b shanks-3731-d swanson-4340-a yeung-4228-b test-123-a wolford-4169-a shanks-3731-c shanks-4261-a fleischauer-4169-a shade-3888-c shanks-4093-a shanks-4092-a shade-3888-b sobhani-3918-a berman-3804-a pagan-4626-a zang-4694-a vatamani-4662-a weber-4314-b voisin-4783-a pagan-4619-a faber-3417-d carolina-4560-a brand-4636-a polk-4372-b lim-4252-b das-4499-b bertsch-4570-a maass-4268-b lim-4639-a hoseini--4616-a thom-lev-4578-a preisler-4321-b tasan-4629-a dantin-4853-a sangid-4573-b brugger-4719-a nygren-3716-f shade-4133-b budrow-4858-a nygren-3716-e pagan-4120-b detor-4508-a nygren-4688-a pokharel-4348-a perez-4710-a miller-3830-d gustafso-4474-b] groups=[hpvx2-remote Users x-cite lnx-id1a3-2-remote hassani-3477-d sangid-3915-a hedstrom-3751-b xiao-3945-a capolungo-3850-a x1trusted x1remote id3atrusted id1a3remote-analysis id1a3trusted x1staff id3astaff id1a3staff ae-pc-remote ae-pc-remote-m chexsfastuser-m chexsfast-m chexsfastuser rams4remote id1a3remote id3aremote-m id3aremote cclfremote cclfslg cclfslg-m chs_det_sim cclfremote-m invoice_admin chess_hmf chess1a3user chexsfast chess classeuser] http_code:400 results:map[nrecords:0 records:<nil>] service:Authz service_code:144 service_query:map[idx:0 limit:0 projection:<nil> query: sort_keys:<nil> sort_order:0 spec:<nil> sql:] status:error timestamp:2026-02-13 16:30:47.458647461 -0500 EST m=+21821.647627372]

Reason: unable to get valid token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions