One thing to be verified here is that Activity Source should be App or Web while making the API call.