Bad request: invalid API key

So, the API key I created receives the following error when tested: “Bad request: invalid API key.”

Testing using this command: curl -H “Authorization: Bearer ” https://docs.getgrist.com/api/orgs

I am getting this api token from the profile page. Does anyone know why this is happening. I await awhile usually as well before testing, but still not working.

Just double-checked this and it works for me, when I put my api key after Bearer , as in: Bearer XXXXXX. Is there any chance a letter got cropped out of the key, or an extra space added, anything like that?