SuiteCRM 8.3 API - GET request works but not POST

I’m using a docker image by Bitnami and I’m able to make a GET request such as listing the current meetings.

curl -X GET -H “Content-Type: application/json” -H
“Authorization: Bearer secret”

However, If I do a POST request to create a meeting, I get an error:

“access_denied”,“error_description”:“The resource owner or authorization server denied the request.”,“hint”:“Error while decoding from Base64Url, invalid base64 characters detected”

Below is the POST command I used. It did not matter whether I set the type to “Meeting” or “Meetings”.

curl -X POST -H “Content-Type: application/json” -H “Authorization: Bearer secret”
-d ‘{
“data”: {
“type”: “Meeting”,
“attributes”: {
“name”: “Internal Meeting”,
“duration_hours”: “1”,
“duration_minutes”: “15”,
“date_start”: “2023-07-14 09:00:00”,

I use an OAUTH2 client associated to a regular user. This regular user can login to the SuiteCRM web interface, list and create meetings.

Is there anything that I missed ?


Double check your token header. This error comes from decoding JWT.

Thank you. After removing the “coma” at the end of date_start, it worked.