superset icon indicating copy to clipboard operation
superset copied to clipboard

Superset Guest Token Endpoint Only is not Working My URL - ( https://superset.mysite.com/api/v1/security/guest_token )

Open srivj5 opened this issue 1 year ago • 1 comments

Bug description

I have tried others api's like access_token and refresh token all APIs was working, but Guest token API only Not working.

How to reproduce the bug

Error: { "errors": [ { "message": "405 Method Not Allowed: The method is not allowed for the requested URL.", "error_type": "GENERIC_BACKEND_ERROR", "level": "error", "extra": { "issue_codes": [ { "code": 1011, "message": "Issue 1011 - Superset encountered an unexpected error." } ] } } ] }

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

srivj5 avatar May 03 '24 19:05 srivj5

Any reproduction steps whatsoever would help someone understand what you're up against. We don't know how you're deploying Superset, how you're embedding it, what role you're using for the guest token, what version you're using, or anything. Server logs would also probably help since it's a server error.

rusackas avatar May 03 '24 20:05 rusackas

Any reproduction steps whatsoever would help someone understand what you're up against. We don't know how you're deploying Superset, how you're embedding it, what role you're using for the guest token, what version you're using, or anything. Server logs would also probably help since it's a server error.

The role is admin and gamma. Enabled the can generate guest token in role management

srivj5 avatar May 04 '24 02:05 srivj5

I have fixed

srivj5 avatar May 04 '24 08:05 srivj5