Created
January 8, 2019 05:11
-
-
Save patrickxrivera/c4f4529b8f4b09f062ee8726ba88c8e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#<Faraday::Response:0x00007f9d037a87d8 | |
@env= | |
#<struct Faraday::Env | |
method=:post, | |
body= | |
"{\"message\":\"Valid data must be provided in the 'attributes', 'events', or 'purchases' fields.\",\"errors\":[{\"type\":\"'price' is not valid\",\"input_array\":\"purchases\",\"index\":0},{\"type\":\"'price' is not valid\",\"input_array\":\"purchases\",\"index\":1},{\"type\":\"'price' is not valid\",\"input_array\":\"purchases\",\"index\":2}]}", | |
url=#<URI::HTTPS https://rest.iad-03.braze.com/users/track>, | |
request=#<struct Faraday::RequestOptions params_encoder=nil, proxy=nil, bind=nil, timeout=nil, open_timeout=nil, boundary=nil, oauth=nil, context=nil>, | |
request_headers={"User-Agent"=>"Faraday v0.12.2", "Content-Type"=>"application/x-www-form-urlencoded"}, | |
ssl= | |
#<struct Faraday::SSLOptions | |
verify=true, | |
ca_file=nil, | |
ca_path=nil, | |
verify_mode=nil, | |
cert_store=nil, | |
client_cert=nil, | |
client_key=nil, | |
certificate=nil, | |
private_key=nil, | |
verify_depth=nil, | |
version=nil>, | |
parallel_manager=nil, | |
params=nil, | |
response=#<Faraday::Response:0x00007f9d037a87d8 ...>, | |
response_headers= | |
{"cache-control"=>"no-cache", | |
"content-type"=>"application/json", | |
"server"=>"nginx", | |
"strict-transport-security"=>"max-age=0; includeSubDomains", | |
"x-ratelimit-limit"=>"250000", | |
"x-ratelimit-remaining"=>"250000", | |
"x-ratelimit-reset"=>"1546927200", | |
"x-request-id"=>"3a6a1848-07a8-491d-b376-29480eb11a88", | |
"x-runtime"=>"0.007363", | |
"content-length"=>"169", | |
"accept-ranges"=>"bytes", | |
"date"=>"Tue, 08 Jan 2019 05:07:23 GMT", | |
"via"=>"1.1 varnish", | |
"connection"=>"close", | |
"x-served-by"=>"cache-bwi5049-BWI", | |
"x-cache"=>"MISS", | |
"x-cache-hits"=>"0", | |
"x-timer"=>"S1546924044.861442,VS0,VE11", | |
"vary"=>"Accept-Encoding"}, | |
status=400, | |
reason_phrase="Bad Request">, | |
@on_complete_callbacks=[]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment