Thank you for reaching out on Microsoft Q&A!
An endpoint for token requests usually supports the "application/x-www-form-urlencoded" content type, as is the case in your system as well when referring to the screenshots you shared. In that case the body should not be formed as a JSON, but as a "query string" like below:
You can use my query string below as reference, by changing the values to match yours:
client_id=YOURCLIENTID&client_secret=YOURCLIENTSECRET&grant_type=GRANTTYPE&password=YOURPASSWORD&username=YOURUSERNAME
Please click "Accept answer" if this answer is helpful, and upvote it. Feel free to drop additional comments below :-)