KB Article #183134

B2Bi report is not send to Amplify "Could not sign the jwsObject"

Problem

Configuration is correct on B2Bi side, but only the generation of report is not working to the Amplify platform due to the error seen in <hostname>_cn_metering.log file :
2024-01-28 02:00:05,971 - ERROR [Timer-2] (RestUtil) - Could not sign the jwsObject
2024-01-28 02:00:05,971 - ERROR [Timer-2] (Reporter) - Failed to automatically send report. Could not generate client assertion


Resolution

The error is due to a mismatch of <file>.json and <file>.pem located under :
/shared/local_te/conf/metering/json/<file>.json
/shared/local_te/conf/metering/keys/<file>.pem

The .pem files should be regenerated and a new ConfigureB2Bi has to be done.