invalid_client when invoking https://appleid.apple.com/auth/token

sending the following POST request:

---- HTTP REQUEST ---- POST https://appleid.apple.com/auth/token Headers: Content-Type: application/x-www-form-urlencoded Body: client_id=au.com.thejlrguy.businesschat&client_secret=eyJhbGciOiJFUzI1NiIsImtpZCI6IktLUDc4MkhGVTcifQ.eyJ...QeDn7ug&grant_type=client_credentials&scope=https%3A%2F%2Fappleid.apple.com

Getting the below error:

{"error":"invalid_client"}

The private key used to sign the JWT was created 24 hours ago.

https://appleid.apple.com/auth/token Headers: Content-Type: application/x-www-form-urlencoded Body: client_id=au.com.thejlrguy.businesschat&client_secret=eyJhbGciOiJFUzI1NiSImtpZCI6IktLUDc4MkhGVTcifQ.eyJ... QeDn7ug&grant_type=client_credentials&scope=https%3A%2F%2Fappleid.apple.com

invalid_client when invoking https://appleid.apple.com/auth/token
 
 
Q