You can quickly verify if the problem is originating from Portkey by running the same request without Portkey. If it executes successfully, then it’s likely that the error is with Portkey or its integration.
Errors related to Missing Mandatory Headers: This is a common error where certain mandatory headers might be missing from the request. Make sure that all the necessary headers as specified in the respective feature documentation are included in your requests.
Errors related to Invalid Header Values: At times, an incorrect or unsupported value might be passed in a header, causing this error. Cross-check the values provided against the allowed ones mentioned in our documentation.