function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

API access to Managed Package from Multiple Hosts

I have a managed package and that I can access successfully (through api) from my host  '' but when I try to access it from my development host '' I get the error message:


Call to token URL failed with status 400, response {"error":"invalid_grant","error_description":"expired access/refresh token"


I believe my access and refresh tokens are correct as I have copied them over from the working host ''.  Can I only access a package from one host?  or am I doing something else wrong?  I have remote access set up for both hosts so that they each have their own consumer key and consumer secret.  


I believe you will need a separate token since the other host has a different key and secret.


You may also want to post to the security group.