Hi,
I’m implementing the Custom Panel with the iFrame of my APP.
I implemented the SDK and implemented the sdk.execute(Command.GET_SIGNED_TOKEN)
, so I’m able to obtain the JWT Token.
Now what I need to do is getting the current Deal detail via API, the problem is that when I try to perform the request with the JWT as Authentication i get 401.
Here an example of the Request:
Request Header:
Authorization: `Bearer {Token}`
Response:
{
"success": false,
"error": "Invalid token: access token is invalid",
"errorCode": 401,
"error_info": "Please check developers.pipedrive.com"
}