Use dev tools get "internal server error" 500 error

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch 2.11
opensearch dashboard 2.13

Describe the issue:
when we use dev tools to exec some api and get “internal server error” with error code 500, but when we try to use some admin user to curl opensearch api in terminal, it make sense.

it looks like that internal user and role of dashboard dev tools have changed, but can I get some help to dive into?

This is a recent issue. Previously, the dev tools were functioning normally
Configuration:

Relevant Logs or Screenshots:
use api

dev tool

I noticed that your OpenSearch and OSD are of different versions (OS 2.11 vs. OSD 2.13 repsectively). Does the error resolve if you run the same version for each?