I am encountering an error while using JWTToken-based authentication. The error message states, "Resource for parameter [messageId] is not found," even though the messageId exists. We are performing these operations in the sandbox environment to ensure the application's readiness for graduation.
Here is the relevant code snippet:
static String CLIENT_ID = "XXXXX";
static String CLIENT_SECRET = "XXXXX";
static String JWT_TOKEN = "XXXXXXXXXXXXXXX";
restClient = new RestClient(CLIENT_ID, CLIENT_SECRET, SERVER_URL);
var messageid = "13334139004";
var resp = await restClient.Restapi().Account().Extension().MessageStore(messageid).Get();