You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There were a couple issues with the contact form on the example static
site that was preventing it from sending messages:
- In the example static site, the form was missing a couple of new
fields that the API now requires (a subject and the name of the API):
NREL/api-umbrella-static-site@c02b886
- Since the Rails 4 upgrade in API Umbrella v0.14, the serialization of
the e-mail messages into delayed job was broken (since ActiveJob won't
serialize arbitrary models). This is fixed by serializing the data as
a plain hash instead.
This adds missing tests for this whole contact API, and also adds
integration tests to make sure the example static site form works in the
browser.
18F/api.data.gov#390
Should be fixed. It was actually related to serialization changes in how ActiveJob/delayed_job handles things in Rails 4 (see NREL/api-umbrella@96862e0).
Looks like our contact form at https://api.data.gov/contact/ became broken after the larger API Umbrella v0.14 upgrade: #382
I think the issue is just some differences in CSRF handling on this API endpoint due to the Rails 4 upgrade behind the scenes.
The text was updated successfully, but these errors were encountered: