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
dxjonesdxjones 

getting 403 Forbidden with REST API

Hi,

 

I am following Pat Patterson's recent PHP code examples.

 

I can get them to work in my Developer Edition, but when I move into the Sandbox of my Enterprise Edition, I seem to be able to get my access_token, but when I try to do the simplest operation (show_accounts) I get an HTTP Status 403 Forbidden returned.

 

Is this because the REST API is only enabled for the Developer Edition?

 

If this should work, I would appreciate suggestions for how to diagnose the source of the 403.

 

thanks,

  David Jones

 

SuperfellSuperfell

Yes, the REST API pilot is only available in developer edition.

personalpersonal

Hi.

 

I have the same problem.

 

How did you fix it?

 

thanks,