CORS error in FF using apify-client

Hey guys, I’m getting a cors error in FF and IE, but not Chrome. How do I start to resolve this? Thanks.

I’m using the apify-client

passing user-id and passing dataset-id
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.apify.com/v2/datasets/[task id]/items. (Reason: missing token ‘user-agent’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.apify.com/v2/datasets/[task id]/items. (Reason: CORS request did not succeed).