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

As a client of salesforce_bulk_api, I expect to recover from API errors. #32

Open
kellydunn opened this issue Aug 21, 2014 · 1 comment

Comments

@kellydunn
Copy link
Contributor

It appears as though that the current job.rb file errors out on occasion, claming:

salesforce_bulk_api-0.0.10/lib/salesforce_bulk_api/job.rb:35 undefined method `[]' for nil:NilClass

I experience this issue pretty consistently around 1AM PDT. It's unclear if this is a limitation of the API or there's some sort of issue with the salesforce_bulk_api gem itself.

Before any action can be taken, I think it might be useful to first get some more information about the status of each call by providing a success, error, and complete callback so that clients of salesforce_bulk_api can inspect the status of each job, respectively.

@Fire-Dragon-DoL
Copy link

I'm currently facing the same issue, considering it was working previously, I suppose it's maybe related to users not having enough permissions or something similar.

EDIT:
Note in my case, I couldn't create Campaign due to missing Marketing User permission. XmlSimple.xml_in was raising the error (nil reference), it should be handled better, maybe, by the gem.

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

2 participants