Unable to create new topic via API

AI-generated summary

xceph is encountering an API error when attempting to create a new topic via the Discourse API. Despite successfully generating an API token and including it along with the correct username and content in the POST request to posts.json, the server returns a 403 Forbidden response with the error: ‘You are not permitted to view the requested resource. The API username or key is invalid.’ The user has verified their account has admin privileges and that API access is enabled in the admin settings, as shown in two attached screenshots. They are seeking help to identify what might be missing or misconfigured, as the setup appears correct on the surface. The error suggests either an invalid or improperly scoped API key, or a permissions issue not visible in the UI. The user’s request includes full request/response headers and payload for debugging purposes.

I’ve created an API token using the API, my response after the auth redirect looks so like:
{
api = 4;
key = bd0553a26566b6ace74869ad6042fc22;
nonce = “5A3D2DD2-D6E3-4539-BDE1-3F114B9EC3A1”;
push = 0;
}

I then try and create a new post using the API like so:

---REQUEST------------------
URL: https://myserver.com/posts.json
METHOD: POST
Api-Key: bd0553a26566b6ace74869ad6042fc22
Content-Type: application/json
Api-Username: AndrewB
BODY: {
  "title" : "Test topic",
  "raw" : "This is posted from the API",
  "category" : 0
}
----------------------------

But I get an invalid access error:

---RESPONSE------------------
URL: https://myserver.com/posts.json
MIMEType: application/json
Status Code: 403
Content-Type: application/json; charset=utf-8
x-runtime: 0.006244
Content-Encoding: gzip
Server: nginx
x-download-options: noopen
x-xss-protection: 1; mode=block
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
Date: Tue, 31 Mar 2020 17:37:54 GMT
x-request-id: 82b293d8-a609-42b1-8338-dcbdcbc72a61
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
Vary: Accept-Encoding
Response Data: {"errors":["You are not permitted to view the requested resource. The API username or key is invalid."],"error_type":"invalid_access"}
Response JSON: {
    "error_type" = "invalid_access";
    errors =     (
        "You are not permitted to view the requested resource. The API username or key is invalid."
    );
}
----------------------------

The users account looks like so:

Admins API section:


Am I missing something obvious here? Any help is apprecaited!