Discussions
Create a Tracking API issue
about 1 year ago by Naresh
Request:
$response = $client->request('POST', 'https://api.easyship.com/2023-01/trackings', [
'headers' => [
'accept' => 'application/json',
'authorization' => 'Bearer prod_ODg/ydDuT2PWgwT9R8auQ+leJeuQv0mgxr03uScMPyI=',
'content-type' => 'application/json',
],
]);
Response:
{
"error": {
"code": "forbidden",
"details": [
"Access to this resource requires scope(s) track_3p."
],
"message": "You do not have permission to access this resource. Please contact our support team or your account manager if you believe you should have access.",
"request_id": "9f394d36-f719-4380-bd88-0e60007fdcc7",
"type": "invalid_request_error"
}
}
When I try to implement create a tracking API but API gives response forbidden so how to resolve this please explain more.