Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "Explore API" fails on Bulk API 2.0 due to added cache parameter #243

Open
Cisor opened this issue Feb 10, 2023 · 0 comments
Open

Comments

@Cisor
Copy link

Cisor commented Feb 10, 2023

sfConn.rest("/services/data/v57.0/jobs/query/"+ '7505r000006ESsbAAG');

throws:
inspector.js:75 Uncaught (in promise) SalesforceRestError: BULK_API_ERROR: Cannot specify query parameters on this resource at Object.rest (inspector.js:75:17)

due to the cache parameter value added in:
addon/inspector.js defines a + "cache=" + Math.random();
which is sent along with the request.

Using Chrome's Copy as Curl function and removing the cache param from the URL works without issue

The following also fail with the same error:
POST - /services/data/v57.0/jobs/query
GET - /services/data/v57.0/jobs/7505r000006ESsbAAG/results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant