Skip to main content
ArcBlock Community

Unable to Create Access Key with Correct Passport Role

Twelve
Developers
blocklet-serverbugqualifiedrewarded

Hi team,

I’m encountering an issue when trying to create an Access Key for my site (anygivenspaces.com). Even though I’m logged in with the admin passport, the system only recognizes my role as guest when I try to create a key. I get the following error:

“You can only use access keys for your own roles: guest.”

Additionally, the dropdown menu in the “Create Access Key” screen does not include owner as an option — it only shows roles like guest, Blog Editor, etc. As a result, I’m unable to generate an access key with the necessary permissions to access protected APIs like Discuss Kit’s blog data.

Is this a bug in the role recognition, or is there a step I’m missing to bind my DID with the appropriate role so I can create a valid access key?

Thanks for your help.

6 replies

Twelve14 months ago

Just following up — I confirmed via the /did/session endpoint that my DID (z1V252GtV5QeWmMBXEGQ1CqiZMhkMFesws9) has the owner, admin, and blogEditor passports.

The Access Key UI still only shows guest and blocks me from using anything else, which looks like a bug in how it's resolving available roles.

Can you help unlock or manually issue a working access key bound to my DID so I can proceed with programmatic access to Discuss Kit blog data?

wangshijun14 months ago

Thanks for letting us know! It might be due to a recent security update, but don't worry—we'll look into it soon.

Twelve14 months ago

Thank you!

lipeng14 months ago(edited)

The current issue has been fixed. A version will be released as soon as possible

Twelve14 months ago

Thank you. Please update me when the new version is released. I'm eager to build out this blog component for a new client of mine.

Leermao14 months ago

Sorry to have kept you waiting. You can try again. It has been updated now

Reply