I have created a subscription with id e770af73-cc7f-4494-MASKED . After getting the token I am using POST request to hit the endpoint
curl --location --request POST 'https://services.sentinel-hub.com/api/v1/dataimport/subscriptions/e770af73-cc7f-4494-bb65-f793005ed166/confirm' \
--header 'Authorization: Bearer eyJraWQiOiJzaCIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI5YWM1*************************
I am getting following response from the request
{
"error": {
"status": 401,
"reason": "Unauthorized",
"message": "Invalid api-key.",
"code": "COMMON_UNAUTHORIZED"
}
}
I have doubled check the possible details but still the not able to confirm my subscription of Planet data.