Im unable to get correct output for API automation

I have to generate token using 3 keys and /i have tried giving it manually it is running fine. But while executing my script it gives msg as incorrect
My input parameters are correct. I even tried manually but I still got an error msg. Script is running fine but Im generating token. The method is Post.
MicrosoftTeams-image (12)

Have you tried it in postman or swagger ?

Sorry for late response, it is in swagger.