• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: GetResponse Plugin: 1000 Error

GetResponse Plugin: 1000 Error 5 years 8 months ago #39436

  • patrick.jackson2
  • patrick.jackson2's Avatar
  • OFFLINE
  • Fresh Boarder
  • KPS - Joomla Consultant Melbourne Australia
  • Posts: 12
  • Thank you received: 6
Adding to the knowledge base (that I refer back to myself for answers from years ago :cheer: )

On a form using the GetResponse plugin to populate GetResponse with new subscribers from an RSForm, I was getting a 1000 error - apidocs.getresponse.com/v3/case-study/adding-contacts explained what might be happening, but you need to look at the context field to diagnose the issue. RSForms shows you there's an error, but not what the error is.

So I added the following to troubleshoot:
echo "<pre>";print_r($contact); echo "</pre>"; die();

at line 351 of /plugins/system/rsfpgetresponse/rsfpgetresponse.php (plugin Version 1.01)

That then displayed the $contact array results that were causing the problem.

Two sets of problems were identified and by unselecting fields that aren't required in the form, it's now submitting correctly.

- When a field is set to populate GetResponse via the API, the API is assuming that the field is required, so when it's not supplied, it throws an error.

- When a phone field is selected in the GetResponse API, it's expecting it in a particular format, so also throws an error.

The combination then trigger a 1000 error. By modifying the mapping of the form's fields in the GetResponse configuration to only map required fields, you'll avoid 1000 errors occuring at this time.

Adding more detail to the exception thrown at line 351 of /plugins/system/rsfpgetresponse/rsfpgetresponse.php would allow users to further diagnose that. Display $contact->context in the error (sent as a support ticket).
The administrator has disabled public write access.
The following user(s) said Thank You: gregs
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!