Identity API - Bearer Token is not supported for this operation


Category: Identify API


Hello Developers,

We are getting below error while calling API. The same code working fine with Sandbox URL.

"error": "invalid_bearer_token",
"error_description": "Bearer Token is not supported for this operation"


More Details

1. We have integrated Sign In with Paypal button 

2. After auth completed, we are receivng code &  id_token of the logged user.

3. Calling NodeJS api with id_token to validate

4. In NodeJS, calling UserInfo API and getting error. But the same code working fine with Sandbox keys. Can some one help me




Login to Me Too

PayPal Employee
PayPal Employee

Good day @BB3434,


Thank you for posting to the PayPal community.


App review : Because Log in with PayPal involves sharing customer data, PayPal must review your app and approve it, before it can go live. All scopes require PayPal's approval.


  • For live apps, once you finish configuring Log in with PayPal and select the Save button, your application is automatically submitted for review. The review process typically takes a few weeks.
  • For sandbox apps, you don't need to submit your app for review. Log in with PayPal is enabled once you finish configuring your app in the Developer Dashboard and select the Save button.  


Note: Before going live, PayPal must review your app to approve the sharing of customer data. To send your app for review, login to the PayPal Dashboard and follow the instructions at My App & Credentials. The app review process takes 7-10 business days. You will be able to call the user info endpoint to receive customer information only after you have received email confirmation from the app review team.


Please refer the below detailed integration guide links of  "Connect with PayPal".


Note : The app review process typically takes takes a few weeks. Plan for the app approval process accordingly, before your planned go live date.




PayPal/Braintree MTS


If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.