My Live REST API key returns HTTP 400 Bad Request for GET requests to the Companies House public company endpoint. I created a new REST key and left Restricted IPs and JavaScript domains blank. The issue affects every company lookup. My refresh reports 0 updated and 162 failed. Please advise how to check whether the key is active and correctly provisioned.
Strips any accidental Basic prefix or trailing : before encoding base64_encode( $api_key . ':' )
Refer GIT for working example : pawansharma06/company-house: Company House Search Wordpress Plugin