{
“code”: “unauthorized_exception”,
“message”: “The provided credentials are invalid or have expired.”
}
We are deploying a premium app integration via AppFoundry that relies on direct platform API calls from a BYOC Edge cluster. After rotating the private key used for JWT generation, the edge nodes fail to register. The /api/v2/edge/registrations endpoint returns a 401. The JWT is signed correctly using the new private key, and the corresponding public key is uploaded to the organization settings in the portal.
“Ensure the public key uploaded matches the private key used for signing. Key pairs must be generated within the last 24 hours to comply with rotation policies.”
The documentation mentions the 24-hour window, but this key was generated five minutes ago. We are using the genesys-cloud-nodejs SDK v3.5.0 for the JWT creation logic. The iss claim matches the integration ID, and the aud claim points to the correct org UUID. The edge cluster is in us-east-1.
Has anyone seen a lag in the propagation of the new public key to the edge registration service? We have waited over an hour with no success. The old key still works if we revert the integration settings, confirming the issue is strictly with the new key pair validation on the server side.