Skip to content

Token not valid for exporting assets #130

@smammadzada-itential

Description

@smammadzada-itential

When trying to export a project and I am getting this error

ipctl export project "VLAN project" --verbose
2025-04-30T18:20:37Z INF ipctl v0.10.0 (4f7e23a)
2025-04-30T18:20:37Z INF connection timeout is 0 second(s)
2025-04-30T18:20:37Z INF Creating new http client
2025-04-30T18:20:37Z INF POST https://localhost:4232/login
2025-04-30T18:20:40Z INF HTTP response is 200 OK
2025-04-30T18:20:40Z INF GET https://localhost:4232/automation-studio/projects?limit=100
2025-04-30T18:20:40Z INF HTTP response is 200 OK
2025-04-30T18:20:40Z INF Found 4 project(s)
2025-04-30T18:20:40Z INF GET https://localhost:4232/automation-studio/projects/6791245e5c79b4f9a3f6c936/export
2025-04-30T18:20:40Z INF HTTP response is 401 Unauthorized
2025-04-30T18:20:40Z ERR status code = 401, expected status code = 200 error="status code = 401, expected status code = 200"
2025-04-30T18:20:40Z ERR The specified authorization token is malformed or does not correspond with an active session error="The specified authorization token is malformed or does not correspond with an active session"
Error: The specified authorization token is malformed or does not correspond with an active session

2025-04-30T18:20:40Z FTL error="The specified authorization token is malformed or does not correspond with an active session"

the user has access to everything in IAP (it's admin@pronghorn)

these are IAP logs when I run this

2025-04-30 14:47:30 2025-04-30T18:47:30.865Z - info: origin=/opt/itential/automation-platform/node_modules/@itential/pronghorn-core/core/Authentication.bin:639, message=[ 'User: admin@pronghorn was logged in successfully.' ]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions