workarea-commerce / workarea-emarsys

Other
0 stars 0 forks source link

undefined method `[]' for nil:NilClass #6

Closed ryaan-anthony closed 4 years ago

ryaan-anthony commented 5 years ago

response.body is coming back nil and we are getting this error:

NoMethodError: undefined method `[]' for nil:NilClass
  from workarea/emarsys/save_user.rb:22:in `perform'
jyucis commented 5 years ago

Please send me your emarsys configuration via keybase to user jyucis

The call to save_user is failing and then attempting to save the user record.

GesJeremie commented 4 years ago

@jyucis I worked on the same build than @ryaan-anthony, basically the credentials were wrong in the first place and therefore triggered that error -- Your answer helped me figured it out, thanks!

I think it's safe to say we can close the issue.

bencrouse commented 4 years ago

Thanks @GesJeremie, I'm closing this issue.