Snapshot repo getting auto removed

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OS: 2.10
OD: 2.10

Describe the issue:
Hi All, i am iusing the gcs repo for our snapshot, it works fine for sometimes, then later the repo is getting auto removed with no errors.
if i add it back manually again it works for sometimes then the same issue occurs.

Relevant Logs or Screenshots:
getting the below error when i go to the repo page.

Index Management - SnapshotManagementService - catRepositoriesWithSnapshotCount: StatusCodeError: [repository_exception] [gcs-repo] Unexpected exception when loading repository data
at respond (/usr/share/opensearch-dashboards/node_modules/elasticsearch/src/lib/transport.js:349:15)
at checkRespForFailure (/usr/share/opensearch-dashboards/node_modules/elasticsearch/src/lib/transport.js:306:7)
at HttpConnector. (/usr/share/opensearch-dashboards/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
at IncomingMessage.wrapper (/usr/share/opensearch-dashboards/node_modules/lodash/lodash.js:4991:19)
at IncomingMessage.emit (node:events:525:35)
at IncomingMessage.emit (node:domain:489:12)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 500,
displayName: ‘InternalServerError’,
path: ‘/_snapshot/gcs-repo/_all’,
query: { ignore_unavailable: true },
body: {
error: {
root_cause: [Array],
type: ‘repository_exception’,
reason: ‘[gcs-repo] Unexpected exception when loading repository data’,
caused_by: [Object]
},
status: 500
},
statusCode: 500,
response: ‘{“error”:{“root_cause”:[{“type”:“repository_exception”,“reason”:“[gcs-repo] Unexpected exception when loading repository data”}],“type”:“repository_exception”,“reason”:“[gcs-repo] Unexpected exception when loading repository data”,“caused_by”:{“type”:“security_exception”,“reason”:“access denied (\“java.lang.RuntimePermission\” \“accessDeclaredMembers\”)”}},“status”:500}’,
toString: [Function (anonymous)],
toJSON: [Function (anonymous)]
}

anyone please help me on this.
Thanks in advance.