GitHub user temuujinmo4 added a comment to the discussion: When requesting a 
Guest Token API, error code 422 is reported

Response Msg : Subject must be string 

Response code: 422 

How i do ?

```
{
  "user": {
    "username": "user",
    "first_name": "user",
    "last_name": "user"
  },
  "resources": [
    {
      "type": "dashboard",
      "id": "my-id"
    }
  ],
  "rls": []
}
```

or 

```
{
  "user": {
    "username": "user",
    "first_name": "user",
    "last_name": "user"
  },
  "resources": [
    {
      "type": "dashboard",
      "id": "my-id"
    }
  ],
  "rls": [],
  "subject": "Dashboard"
}
```

but not working


GitHub link: 
https://github.com/apache/superset/discussions/33621#discussioncomment-13314212

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to