mediakind-video / ams-migration-tool

3 stars 4 forks source link

Error Creating mk.io Asset Client #40

Closed agmomike123 closed 1 month ago

agmomike123 commented 1 month ago

Using the mk.io token and run the cmd, receive error message:

level=fatal msg="error creating mk.io Assets Client: GET https://api.mk.io/api/profile;RESPONSE 401: 401 Unauthorized;ERROR CODE: 1000.0010.1000.2101;{\n \"error\": {\n \"code\": \"1000.0010.1000.2101\",\n \"detail\": \"Unauthorized.\"\n },\n \"ref\": \"2b3e3da9-46f5-4ae3-a066-d6569ac01239\",\n \"status\": 401\n}\n;"

Command ran: go run main.go --azure-subscription XXX --azure-resource-group XXX --azure-account-name XXX --mediakind-import-subscription XXX --export --import --assets --streaming-locators